API/PERF/BUG: infer dtypes when enlarging #9521
Labels
API Design
Bug
Dtype Conversions
Unexpected or buggy dtype conversions
Performance
Memory or execution speed performance
So this can be fixed by inferring after the set. We need to do this because we first set the value to a null-type (nan/NaT), then set the value. This works fine for datetime/timedelta/floats/strings, but not for integers which get set as
float
.However, this can be an expensive operation as potentially the entire column needs to be scaned for nulls.
The text was updated successfully, but these errors were encountered: