Created
July 27, 2018 14:03
-
-
Save bbennett36/ef0195d5ea8d8c2398307dcbc2665ce6 to your computer and use it in GitHub Desktop.
pandas apply lambda
This file contains hidden or 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
new_data['date'] = new_data['date'].apply(lambda x: str(x).replace('-', '')).astype(np.float) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment