easyenvi.local.load

Load 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

  • path - str path to load from

Examples

Load a .pickle

my_dictionnary = envi.local.load(path='inputs/my_dictionnary.pickle')

Load a .png image

my_logo = envi.local.load(path='inputs/my_logo.png')

Load a .csv table

dataset = envi.local.load(path='inputs/dataset.csv')

Last updated