Created
December 6, 2020 09:12
-
-
Save Kamaldeep0077/c3a481fa1006fe859b860141009a7628 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
data['Item_Code'] = data['Item_Identifier'].apply(lambda x: x[0:2]) | |
data[['Item_Identifier', 'Item_Code']].head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment