Skip to content

Commit

Permalink
fix: AttributeError: np.NaN was removed in the NumPy 2.0 release. U…
Browse files Browse the repository at this point in the history
…se `np.nan` instead.

Signed-off-by: F.N. Claessen <felix@seita.nl>
  • Loading branch information
Flix6x committed Sep 19, 2024
1 parent 66b6c64 commit d727aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timely_beliefs/tests/test_df_resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def test_downsample_once_upsample_once_around_dst(
df = df_wxyz(
time_slot_sensor, 25, 1, 1, 1, start
) # 1 deterministic belief per event
df.iloc[0] = np.NaN # introduce 1 NaN value
df.iloc[0] = np.nan # introduce 1 NaN value
print(df)

# Downsample the original frame
Expand Down

0 comments on commit d727aeb

Please sign in to comment.