1 parent 8e28df1 commit 5953ecfCopy full SHA for 5953ecf
2 files changed
first learn/mo1.py
@@ -9,6 +9,6 @@
9
10
stock_zh_a_spot_em_df = ak.stock_zh_a_spot_em()
11
print(stock_zh_a_spot_em_df)
12
-
13
-with open('output.txt', 'w') as file:
14
- file.write(str(stock_zh_a_spot_em_df))
+column_data = stock_zh_a_spot_em_df['总市值']
+with open('市值.txt', 'w') as file:
+ file.write(str(column_data))
0 commit comments