Skip to content

Commit 5967a3e

Browse files
committed
Fix pandas warning
1 parent e612e0c commit 5967a3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tranquilo/visualize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def _get_sample_points(state, history):
456456
]
457457
),
458458
)
459-
df["case"] = np.nan
459+
df["case"] = pd.NA
460460
df.loc[state.new_indices, "case"] = "new"
461461
df.loc[state.old_indices_used, "case"] = "existing"
462462
df.loc[

0 commit comments

Comments
 (0)