summaryrefslogtreecommitdiff
path: root/src/tablib/formats/_df.py
diff options
context:
space:
mode:
authorPeyman Salehi <peymanslh@pm.me>2019-10-19 16:43:21 +0200
committerClaude Paroz <claude@2xlibre.net>2019-10-19 16:57:14 +0200
commitbdc84255a83c1d3f88202503d4a4ace8e0275a44 (patch)
tree2410cbedd48797a82511004e9348b1278611e2cf /src/tablib/formats/_df.py
parentb3c7145c4079fe3d0c76c45421c02b96cc74b624 (diff)
downloadtablib-bdc84255a83c1d3f88202503d4a4ace8e0275a44.tar.gz
Fix some linting errors
Diffstat (limited to 'src/tablib/formats/_df.py')
-rw-r--r--src/tablib/formats/_df.py4
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: