Is there a way to convert complete DataFrames to another datatype?

73 Views Asked by At

I was using the tool asammdf and realized that my DataFrame contains b-strings. I never heard and used that type of string before, however it is causing some problems with my other functions.

Do you know if there is a efficient way to convert my pandas dataframe? Or some other solutions?

The DataFrame looks something like:

column1   column2 ...
b'7.00'   b'21.0' ...
b'8.00'   b'22.0' ...
...       ...

The DataFrame is being created from asammdf with

asammdf.mdf.MDF.to_dataframe() 

I just choose the channels and groups and usually it creates a perfect DataFrame.

Thank you very much in advance for your help!

So far I tried to store each series astype('float64') in order to calculate with my values.

0

There are 0 best solutions below