pyexcel_io.save_data(afile, data, file_type=None, **keywords)[source]

Save data to an excel file source

Your data must be a dictionary

  • 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
  • library – explicitly name a library for use. e.g. library=’pyexcel-ods’
  • keywords – any other parameters that python csv module’s fmtparams