S5.Weather.to_csv#

S5.Weather.to_csv(name: str, df: DataFrame, dest_dir: PathLike | str = '') None[source]#

Save the forecast to a csv.

Parameters:
  • name – Name of the location for the forecast.

  • df – Forecast returned as a DataFrame.

  • dest_dir – Destination directory either an absolute path or

  • directory. (Leave blank to save to current working) –

  • directory.

Returns:

Saves the dataframe to the csv file.