import tushare as ts
import pandas as pd
df = ts.day_cinema() #取上一日全國影院票房排行數據
#df = ts.day_cinema('2015-12-24') #取指定日期的數據
pd.set_option('display.unicode.ambiguous_as_wide', True)#設置列名對齊
pd.set_option('display.unicode.east_asian_width', True)#設置列名對齊
pd.set_option('display.max_rows',None) #顯示所有行
pd.set_option('display.max_columns',None)#顯示所有列
pd.set_option('expand_frame_repr', False)#設置不換行
print()
print(df.head(10))
