Uneven Line Diagram Plotting And Change Of Date Format
I have two strange issue from the pandas plot. Below is the sample data I am working on which is a data set of three pressure values. I just want to plot these values as line diagr
Solution 1:
Use the parameter dayfirst=True
for pd.read_csv
df = pd.read_csv(data_path, index_col=0, parse_dates=True, dayfirst=True)
df1 = df[['D1', 'D2', 'D3']]
plt1 = df1.plot(marker='o', figsize=(16, 9), title=title, grid=True)
Post a Comment for "Uneven Line Diagram Plotting And Change Of Date Format"