Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #198 from umccr/bugfix/update-pandas-NaT-error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl authored Nov 22, 2023
2 parents 95c3289 + 43bdf69 commit c445b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/accession.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ def sanitise_data_frame(input_df: pd.DataFrame) -> pd.DataFrame:
input_df["date_of_birth"] = input_df.apply(
lambda x: x.date_of_birth
if hasattr(x, "date_of_birth")
else pd.NAT,
else pd.NaT,
axis="columns"
)
input_df["first_name"] = input_df.apply(
Expand Down

0 comments on commit c445b2b

Please sign in to comment.