如何解决没有坐标的世界天气api历史数据框?
the code iterate through a predefined list
#cor_list 是作为 DMS 的列表坐标,所以我在 #number2 行将其转换为 dec
for i in cor_list:
x = str(dms2dec(i[0]))
z = str(dms2dec(i[1]))
y = [x,z]
ic(x,z)
frequency=24
start_date = '22-JUNE-2021'
end_date = '23-JUNE-2021'
api_key = '7a1e968247934050ae6130312212406'
location_list = ["x,z"]
#location_list = ' '.join(map(str,y))
#location_list = ','.join([str(elem) for elem in y])
ic(location_list)
print(f"this is location list:{location_list}")
hist_weather_data = retrieve_hist_data(api_key,location_list,start_date,end_date,frequency,location_label = False,export_csv = True,store_df = True)
#输出是位置列中的数据框我将位置作为 x,y #string 作为附件截图。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。