text_plain_output_1.png
import pandas as pd

import warnings

import pandas as pd
import numpy as np
import gc
import warnings
warnings.filterwarnings('ignore')
train = pd.read_csv('/kaggle/input/covid19-global-forecasting-week-4/train.csv')
train.rename(columns={'Country_Region': 'Country', 'Province_State': 'State', 'ConfirmedCases': 'Confirmed'}, inplace=True)
test = pd.read_csv('/kaggle/input/covid19-global-forecasting-week-4/test.csv')
test.rename(columns={'Country_Region': 'Country', 'Province_State': 'State', 'ConfirmedCases': 'Confirmed', 'ForecastId': 'Id'}, inplace=True)
train['Type'] = 'train'
test['Type'] = 'test'
test['Confirmed'] = 0
test['Fatalities'] = 0
print(train['Date'].min(), train['Date'].max())
print(test['Date'].min(), test['Date'].max())