Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pvk-developer committed Jul 5, 2023
1 parent e1eecba commit 130b017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdv/constraints/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def cast_to_datetime64(value):
value = np.array([
pd.to_datetime(item).to_datetime64()
if not pd.isna(item)
else pd.to_datetime(pd.NaT).to_datetime64()
else pd.NaT.to_datetime64()
for item in value
])

Expand Down

0 comments on commit 130b017

Please sign in to comment.