Skip to content

Commit

Permalink
🐛 fixing data loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasvdd committed Nov 12, 2021
1 parent fecaa4d commit dedb499
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tsflex/utils/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ def load_empatica_data(f_names: Union[str, List[str]]) -> List[pd.DataFrame]:
url = "https://github.com/predict-idlab/tsflex/raw/main/examples/data/empatica/"
f_names = [f_names] if isinstance(f_names, str) else f_names
return [
pd.read_parquet(url + f"{f_name.lower()}.parquet").set_index("timestamp")
pd.read_parquet(
url + f"{f_name.lower()}.parquet", engine="fastparquet"
).set_index("timestamp")
for f_name in f_names
]

0 comments on commit dedb499

Please sign in to comment.