pyexcel_io.save_data¶
- pyexcel_io.save_data(afile, data, file_type=None, **keywords)[source]¶
Save data to an excel file source
Your data must be a dictionary
- Parameters:
filename – actual file name, a file stream or actual content
data – a dictionary but an ordered dictionary is preferred
file_type – used only when filename is not a physial file name
force_file_type – used only when filename refers to a physical file and it is intended to open it as forced file type.
library – explicitly name a library for use. e.g. library=’pyexcel-ods’
keywords – any other parameters that python csv module’s fmtparams