Skip to content

Commit

Permalink
support for ecsv if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
adrn committed Jun 22, 2024
1 parent 3e5ad56 commit 52e162e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gaiaunlimited/fetch_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def download_scanninglaw(name):
download_ftp(item["url"], f, md5sum=item["md5sum"], desc=desc)
else:
download(item["url"], f, md5sum=item["md5sum"], desc=desc)
df = pd.read_csv(f).rename(columns=item["column_mapping"])
df = pd.read_csv(f, comment="#").rename(columns=item["column_mapping"])
savedir.mkdir(exist_ok=True)
df.to_pickle(savepath)

Expand Down

0 comments on commit 52e162e

Please sign in to comment.