TypeError
when datetime column is all null (Cannot cast DatetimeArray to dtype float64)
#1466
Labels
bug
Something isn't working
resolution:resolved
The issue was fixed, the question was answered, etc.
Environment Details
Error Description
Sometimes I may have a datetime column that contains all NULL values (see RDT #367 for why this may happen).
If I try to input this column into the SDV, then I get an error when sampling.
Steps to reproduce
Output:
Additional Context
_sample
method returns a column full of0.0
values (as intended)pd.NaT
, the SDV is erroring because it wants to convert them into floats somehow?The text was updated successfully, but these errors were encountered: