Skip to content

Tag: pandas

Mutiplying dataframe by -1 loses data

I have an issue and I have no idea what is causing it.. I have a very very simply dataframe which looks like the following; I simply need to convert this dataframe to positive numbers. When I do this with a simple; A column multiples but the B column loses its’ data to the following; I assume this is so…

Upload multiple files pandas

I need help, I can’t figure out what I need to do. The task is as follows, I need to be able to select multiple xlsx files and convert them to csv. In my code I got the ability to do this with only one file. I hope for your help and advice. Thanks Answer Without option no_window=True, it will

python linear chart with min max and Avg

I wonder how in Python I can create a line graph that shows the maximum, minimum and the average for a given epoch. I don’t know much about this language and how to make one x have 3 y values. I would like to create something like: I tried to do it this way the first column is the epoch,