diff options
| author | Kenneth Reitz <me@kennethreitz.org> | 2016-02-07 10:56:29 -0500 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.org> | 2016-02-07 10:56:29 -0500 |
| commit | 039272b2744178cdc60f05cb994f5eafdb548ad2 (patch) | |
| tree | 08bde2d91fd6437c29b69fecc401720e3521c168 /docs/tutorial.rst | |
| parent | d6a7832e6097d13b1d7d12b9fb3f1e1a09420f7e (diff) | |
| download | tablib-039272b2744178cdc60f05cb994f5eafdb548ad2.tar.gz | |
docs cleanupv0.11.0
Diffstat (limited to 'docs/tutorial.rst')
| -rw-r--r-- | docs/tutorial.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 551b191..94de432 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -103,7 +103,7 @@ Importing Data -------------- Creating a :class:`tablib.Dataset` object by importing a pre-existing file is simple. :: - imported_data = tablib.import_set(open('data.csv').read()) + imported_data = Dataset().load(open('data.csv').read()) This detects what sort of data is being passed in, and uses an appropriate formatter to do the import. So you can import from a variety of different file types. |
