sunrise_monthly
Fetch daily sunrise and sunset times for a city and month from a date; fill incomplete current month with predictions.
Instructions
每个指定 date 所在月份的每日日出日落数据,如果当前月份未到月底,则以预测值填充 https://www.timeanddate.com/astronomy/china/shaoxing :param date: 需要查询的日期,这里用来指定 date 所在的月份;e.g., “20200428” :type date: str :param city: 需要查询的城市;注意输入的格式,e.g., "北京", "上海" :type city: str :return: 指定 date 所在月份的每日日出日落数据 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | beijing | |
| date | No | 20240428 |