-
-
Save hsyyid/e607cf5c7dd17abdccdd0244410ee25f 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
# Let's clean up the names of these columns | |
invoices = input_df.pipe(lambda x: x.rename(columns={'CustomerRef__value': 'CustomerId', 'CustomerRef__name': 'Customer', | |
'MetaData__LastUpdatedTime': 'LastUpdated', | |
'MetaData__CreateTime': 'CreatedOn', 'CurrencyRef__name': 'Currency', | |
'CurrencyRef__value': 'CurrencyCode'})) | |
invoices.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment