Two columns' values of a panda's data frame plotting incorrect result in scatter plot? While the same program is worked for a small program, and I have obtained the correct scatter plot for smaller list of lists.
I have created a data framework for printing the result of a text file output using pandas. I have also define the variables name to the indices of my data list using df.columns. I have printed all the result to verify the frame work.
But I am getting unlike results as my data values are different.
I have used the similar type of program to plot for a smaller list of lists. I have plotted the scatter plot which representing correct values.
I want the scatter plot of the column x and y from my text file. Also , is there any sample code for scatter plot between x and y values which have different values of second column('pid') with different marking style.
I have further made changes and printed each line. I have also used head(). The change and result are attached below: enter image description here