Skip to content

Commit

Permalink
Fix import in cli/extract.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chazeon committed Jan 5, 2021
1 parent db9ed9a commit 0ff79f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cij/cli/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
def load_data(var):

import pandas
from glob import glob

df = pandas.read_table(glob.glob(f"{var}_tp_*")[0], sep="\s+", index_col=0)
df = pandas.read_table(glob(f"{var}_tp_*")[0], sep="\s+", index_col=0)
df.columns = [float(colname) for colname in df.columns]
df.index = [float(idx) for idx in df.index]
return df
Expand Down

0 comments on commit 0ff79f4

Please sign in to comment.