Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to check if values are integer or float and convert accordingly. (#…
…21277) This code will prevent the loss of data if the value is a float it will convert to float if it is not then int. It will use pd.Float64Dtype() for floats instead of using the the pd.Int64Dtype(). Since there could be floating-point values in the array this will fix the exception for safely casting the array to data type. fixes error when using mysql_to_s3 (TypeError: cannot safely cast non-equivalent object to int64) #16919
- Loading branch information