diff options
| author | Peyman Salehi <peymanslh@pm.me> | 2019-10-19 16:43:21 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2019-10-19 16:57:14 +0200 |
| commit | bdc84255a83c1d3f88202503d4a4ace8e0275a44 (patch) | |
| tree | 2410cbedd48797a82511004e9348b1278611e2cf /src/tablib/formats/_df.py | |
| parent | b3c7145c4079fe3d0c76c45421c02b96cc74b624 (diff) | |
| download | tablib-bdc84255a83c1d3f88202503d4a4ace8e0275a44.tar.gz | |
Fix some linting errors
Diffstat (limited to 'src/tablib/formats/_df.py')
| -rw-r--r-- | src/tablib/formats/_df.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tablib/formats/_df.py b/src/tablib/formats/_df.py index dd319a3..372bf7d 100644 --- a/src/tablib/formats/_df.py +++ b/src/tablib/formats/_df.py @@ -1,9 +1,6 @@ """ Tablib - DataFrame Support. """ -import sys -from io import BytesIO - try: from pandas import DataFrame except ImportError: @@ -15,6 +12,7 @@ import tablib title = 'df' extensions = ('df', ) + def detect(stream): """Returns True if given stream is a DataFrame.""" if DataFrame is None: |
