Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into ds-fix-open-ds-concept
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmilkov committed Jan 24, 2024
2 parents f08119a + a979336 commit 2db7aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lilac/data/dataset_duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3654,7 +3654,7 @@ def _replace_nan_with_none(df: pd.DataFrame) -> pd.DataFrame:
# TODO(https://github.com/duckdb/duckdb/issues/4066): Remove this once duckdb fixes upstream.
for col in df.columns:
if is_object_dtype(df[col]):
df[col].replace(np.nan, None, inplace=True)
df[col] = df[col].replace(np.nan, None)
return df


Expand Down

0 comments on commit 2db7aac

Please sign in to comment.