Last active
December 11, 2020 16:33
-
-
Save Kamaldeep0077/d8b0f9a39aad3df62d524ab7fab1629b 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
Outlet_Type_Dumm = pd.get_dummies(data=data['Outlet_Type'], columns=['Outlet_Type'], drop_first=True) | |
pd.concat([data['Outlet_Type'], Outlet_Type_Dumm], axis=1).head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment