I am plotting the data from a .csv file using matplotlib. The data in the file is well behaved - meaning the x labels are equally spaced and monotonic increasing from line 1 to the end.
The y-axis of the plot however, starts at the minimum y-value and increases vertically to the maximum value and THEN jumps back down to a lesser value and DECREASES from there. Very strange.
Opening the csv file in excel and plotting the same columns results in a normal plot.
import pandas as pd
import matplotlib.pyplot as plt
weather = pd.read_csv('Weather 210221.csv', names=['Timestamp', 'Wind Speed', 'Wind Direction', 'Outdoor Temp', 'Rain Total', 'Barometer', 'Indoor Temp', 'Outdoor Humidity', 'Indoor Humidity', 'Rain Today', '1 min. Ave Wind Speed', 'Heat Index', 'Dew Point', 'Wind Chill'])
weather.plot.scatter(x='Timestamp', y='Outdoor Temp', title='Temps')
plt.show()
Any ideas what could be happening? I would attach the data file if I knew how