Python Help: Hi I'm stuck on my code, I need to be able to grab the dates and Select data for the 30-year period (January 1988 to December 2018). and to Store the selection in a new variable 'selection'
import pandas as pd
import pandas_datareader as pdr
import matplotlib.pyplot as plt
from datetime import date
df = pd.read_csv('helsinki-vantaa.csv.csv', parse_dates=['DATE'],
index_col=['DATE'])
df.index
df.head()
#print(len(data))
rows_count = len(df.index)
rows_count = len(df.axes[0])
rows_count = df.shape[0]
rows_count = df.count()[0]
print(df)