ts['1/1/2020':'6/30/2020'].plot() plt.title('A simple time series plot') plt.ylabel('Value') plt.xlabel('Date')