首页 新闻 搜索 专区 学院

python for循环

0
悬赏园豆:200 [已关闭问题] 关闭于 2021-12-27 10:20

purpose = [59310,59071,59268,59298,59072,59106,59316,59284,59270,59271,59276,59278,59279,59280,59288,59285,59287,59289,59290,59293,59294,59297,59269,59304,59264,59303,57989,57988,57996,59074,59075,59081,59082,59087,59088,59090,59094,59096,59097,59099,59107,59109,59114,59116,59117,57988,59480,59471,59500,59493,59492,59488,59487,59485,59481,59306,59478,59477,59475,59473,59476,59470,59318,59312,59313,59314,59469,59315,59319,59456,59462,59317,59324,59501,59656,59659,59655,59673,59663,59658,59750,59654,59653,59650,59502,59754,59664]

cd = {"Station_Id_C":['59310']}
df59310 = df_screen(data,cd)
df59310.to_csv('59310.csv',encoding = 'utf-8')

请问各位大佬,如何把"Station_Id_C":['59310'] 中的数字,df59310中的数字,以及后面相关的,用到purpose中的所有数据。

举例:
for i in range(87):
cd = {"Station_Id_C":"purpose[i]"}??

后面.....

传说级工程师的主页 传说级工程师 | 菜鸟二级 | 园豆:202
提问于:2021-12-27 09:47
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册