目录
min():获取最早日期
>>> import pandas as pd
>>> ebola=pd.read_csv(r'D:\pandas活用\pandas_for_everyone-master\data/country_timeseries.csv',parse_dates=[0])
>>> print(ebola['Date'].min())
2014-03-22 00:00:
date_range:创建日期范围
>>> r=pd.date_range(start='1999-12-01',end='1999-12-31')
>>> print(r)
DatetimeIndex(['1999-12-01', '1999-12-02', '1999-12-03', '1999-12-04',
'1999-12-05', '1999-12-06', '1999-12-07', '1999-12-08',
'1999-12-09', '1999-12-10', '1999-12-11', '1999-12-12',
'1999-12-13', '1999-12-14', '1999-12-15', '1999-12-16',
'1999-12-17', '1999-12-18', '1999-12-19', '1999-12-20',
'1999-12-21', '1999-12-22', '1999-12-23', '1999-12-24',
'1999-12-25', '1999-12-26', '1999-12-27', '1999-12-28',
'1999-12-29', '1999-12-30', '1999-12-31'],