Skip to content

Commit

Permalink
Remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
djcomlab committed Oct 13, 2018
1 parent 683613f commit 697dac8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion textmining/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 697dac8

Please sign in to comment.