#NEWLINE# def warn_null_calculation( operation , column ) : #NEWLINE# #INDENT# warnings . warn ( ( 'Column "%s" contains nulls. These will be excluded from %s calculation.' % ( column . name , operation . __class__ . __name__ ) ) , NullCalculationWarning , stacklevel = 2 )