[Tutor] python plotting

2016-01-19 Thread Bachir Bachir via Tutor
 Dear all, I have some data taken at specific time of the day and i  want to display those data according to the time,attached is the cvs file and the display output from python pandas . I used the following script   v2=read_csv('v2_12.dat')  #data frame for v2  v2.plot(kind='bar',

Re: [Tutor] python plotting

2016-01-19 Thread Francois Dion
I'm guessing you loaded from pandas import *... It is better to import pandas as pd, then use pd.read_csv. I also tend to name my data frames df or a variation and time series as ts. Speaking of series, If your data is not a series with a datetime type, then it will be plotted as a categorical,