Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
royopa committed Jun 2, 2019
1 parent babc826 commit 57507a0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scraper.py
Expand Up @@ -48,6 +48,13 @@ def process_file(file_path):
sep='\t'
)

df.to_csv(file_path, encoding='utf-8-sig')

df = pd.read_csv(
file_path,
encoding='utf-8-sig'
)

print('Importing {} items'.format(len(df)))

# converte para datetime
Expand Down

0 comments on commit 57507a0

Please sign in to comment.