diff --git a/textmining/__init__.py b/textmining/__init__.py index f5ccc4e..8342cf6 100644 --- a/textmining/__init__.py +++ b/textmining/__init__.py @@ -319,7 +319,6 @@ def write_csv(self, filename, cutoff=2): to write our the CSV file, otherwise it will use the csv package. """ try: # if pandas available, write DataFrame to CSV - import pandas as pd tdm_df = self.to_df(cutoff=cutoff) tdm_df.to_csv(filename, index=False) except ImportError: