pandas 数据查询实例
import pandas as pdfpath = "D:\\python39\\pandas\\antlearnpandasmaster\\datas\\beijing_tianqi\\beijing_tianqi_2018.csv"bjtq = pd.read_csv(fpath)#print(bjtq,bjtq.shape)#设定日期为索引,方便筛选数据bjtq.set_index('ymd',inplace = True)print(bjtq.head())prin