file.csv

file.csv.load(source_path, **kwargs):

Load data from a CSV file

Parameters:

source_path (str) – URL or local path

Keyword Arguments:

Currently None

file.csv.save(data, destination_path, **kwargs):

Generate a csv file from a datastructure.

Parameters:
  • data (list of dict) – Currently data must be a list of dicts.

  • destination_path (str) – Path of the resulting CSV file.

Raises:

ValueError – If the format of data cannot be determined.

Returns:

Returns True on success.

Return type:

bool

Keyword Arguments:

Currently None