Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve implementation of convert_dtypes. #52

Open
ioannis-vm opened this issue Aug 1, 2024 · 0 comments
Open

Improve implementation of convert_dtypes. #52

ioannis-vm opened this issue Aug 1, 2024 · 0 comments

Comments

@ioannis-vm
Copy link
Contributor

ioannis-vm commented Aug 1, 2024

Currently the line .fillna(value=np.nan) does not work well for dataframes that contain columns with mixed types, and pd.to_numeric(x, errors='ignore') is subject to deprecation.
We need to update our implementation to something more hands-on, converting the types and filling nan values column-by-column.

def convert_dtypes(dataframe):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant