easyenvi.local.save

Save a file

By default, the extensions supported are csv, docx, jpg, json, md, parquet, pdf, pickle, png, pptx, sql, toml, txt, xlsx, xml, yaml, yml. To integrate other extensions into the tool, see the section Customizing loader and saver.

Parameters

  • obj object to save

  • path - str path to save to

Examples

Save a .pickle

envi.local.save(obj=my_dictionnary, path='outputs/my_dictionnary.pickle')

Save a .png image

envi.local.save(obj=my_logo, path='outputs/my_logo.png')

Save a .csv table

envi.local.save(obj=dataset, path='outputs/dataset.csv')

Last updated