I am using pandas which very efficiently sorts/filters the data they way I need.
This code worked fine, until I changed the last column to a complex number; now I ge
For converting all columns, try pd.applymap(lambda s: np.complex(s.replace('i', 'j')))
pd.applymap(lambda s: np.complex(s.replace('i', 'j')))