text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

covid_train = pd.read_csv('../input/covid19-global-forecasting-week-4/train.csv', index_col='Id', parse_dates=['Date'])
covid_test = pd.read_csv('../input/covid19-global-forecasting-week-4/test.csv', index_col='ForecastId', parse_dates=['Date'])
last_register = pd.to_datetime(covid_train['Date'].iloc[covid_train.shape[0] - 1])
print('Len train %d, Len test %d' % (covid_train.shape[0], covid_test.shape[0]))
print('Last train "Date": ', last_register)