I currently have an excel file that is in this format:
PS PSX1 PSX2 PSX3 PSX4
I P V I P V I P V I P V
States
Idle # # # # # # # # # # # #
Data=Addr(R) # # # # # # # # # # # #
Data=Addr(W) # # # # # # # # # # # #
. . . . . . . . . . . . .
. . . . . . . . . . . . .
When I try importing it as a pandas data frame it adds column names to give each one a name instead of just the four PSX1, PSX2, PSX3, and PSX4. It also adds NaN's in empty spaces. This becomes a problem when I try to graph it, I get an error saying "Empty 'DataFrame': no numeric data to plot". Is there a way to skip importing as a pandas data frame and just plot it straight after reading it in as an excel file?
I want the graph to be 4 lines (one for each power supply), and I only care about the P column with the x-axis being the different states. I am new to matplotlib and python in general. Any help is appreciated.