Skip to content

Commit

Permalink
add jittering of timed dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Sep 23, 2023
1 parent a397ebf commit 20c5c62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sed/core/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,12 @@ def add_jitter(self, cols: Sequence[str] = None):
cols=cols,
cols_jittered=cols,
)
if self._timed_dataframe is not None:
self._timed_dataframe = self._timed_dataframe.map_partitions(
apply_jitter,
cols=cols,
cols_jittered=cols,
)
metadata = []
for col in cols:
metadata.append(col)
Expand Down

0 comments on commit 20c5c62

Please sign in to comment.