import tushare as ts
import pandas as pd
df =ts.get_hist_data('600848') #一次性獲取全部數據
pd.set_option('display.max_rows', None)
test_dict_df=pd.DataFrame(data=df)
print(test_dict_df)
主要就是先轉換成dataframe
2:然後設置成顯示所有行,然後可以在後面添加圖
import tushare as ts
import pandas as pd
df =ts.get_hist_data('600848') #一次性獲取全部數據
pd.set_option('display.max_rows', None)
test_dict_df=pd.DataFrame(data=df)
print(test_dict_df)
主要就是先轉換成dataframe
2:然後設置成顯示所有行,然後可以在後面添加圖