Skip to content

Commit 4eefdd9

Browse files
fix: replace inplace=True mutation (pandas 3.0 CoW) (#1772)
1 parent 0abbde3 commit 4eefdd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cdisc_rules_engine/check_operators/dataframe_operators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ def check_inconsistency(row):
14971497
return df.apply(check_inconsistency, axis=1)
14981498

14991499
def next_column_exists_and_previous_is_null(self, row) -> bool:
1500-
row.reset_index(drop=True, inplace=True)
1500+
row = row.reset_index(drop=True)
15011501
for index in row[
15021502
row.isin(NULL_FLAVORS) | pd.isna(row)
15031503
].index: # leaving null values only

0 commit comments

Comments
 (0)