Skip to content

Commit

Permalink
updated pandas and changed S to s lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbhagatio committed Oct 10, 2024
1 parent f12e359 commit daf6224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aeon/schema/ingestion_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def read(self, file: PathLike[str], sr_hz: int = 50) -> pd.DataFrame:
data.index = aeon_time(data.index)
first_index = data.first_valid_index()
if first_index is not None:
data = data.resample(f"{1/sr_hz}S").first() # take first sample in each resampled bin
data = data.resample(f"{1/sr_hz}s").first() # take first sample in each resampled bin
return data


Expand Down

0 comments on commit daf6224

Please sign in to comment.