Skip to content

Commit

Permalink
fix(mdf): Series argument fastpath is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienGrv committed Nov 15, 2024
1 parent b76cc64 commit b57f15d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/asammdf/mdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4245,7 +4245,6 @@ def iter_to_dataframe(
df[channel_name] = pd.Series(
sig.samples,
index=sig_index,
fastpath=True,
)
else:
if reduce_memory_usage:
Expand All @@ -4257,7 +4256,6 @@ def iter_to_dataframe(
df[channel_name] = pd.Series(
sig.samples,
index=sig_index,
fastpath=True,
)

if progress is not None:
Expand Down Expand Up @@ -4631,7 +4629,7 @@ def to_dataframe(
if sig.samples.dtype.byteorder not in target_byte_order:
sig.samples = sig.samples.byteswap().view(sig.samples.dtype.newbyteorder())

df[channel_name] = pd.Series(sig.samples, index=sig_index, fastpath=True)
df[channel_name] = pd.Series(sig.samples, index=sig_index)

if progress is not None:
if callable(progress):
Expand Down

0 comments on commit b57f15d

Please sign in to comment.