Created
January 5, 2022 08:15
-
-
Save youssefHosni/f64a9deb8657684b38c26dbfb6aff945 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# convert the type of the features from object to float | |
demographics_df[Aboriginal_Peoples_features] = demographics_df[Aboriginal_Peoples_features].astype(str).astype(float) | |
demographics_df[Aboriginal_Peoples_features].info() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment