创建,读取和保存 两个结构单元DataFrame,Series # DataFrame pd.DataFrame({'Bob': ['I liked it.', 'It was awful.'], 'Sue': ['Pretty good.', 'Bland.']}, index=['Product A', 'Product B']) pd.DataFrame['Product A'] # Series pd.Series([30, 35, 40], index=['2015 Sales', '2016 Sales', '2017 Sale