#NEWLINE# def nonconstant_parameters( data ) : #NEWLINE# #INDENT# assert ( len ( data ) > 0 ) #NEWLINE# df = pd . DataFrame ( [ filtered [ 'parameters' ] for d in data ] ) #NEWLINE# filtered = df . loc [ : , ( df != df . ix [ 0 ] ) . any ( ) ] #NEWLINE# return filtered