Created
March 12, 2015 12:51
-
-
Save mzumi/03bcf801b2046055bdf2 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
# アクセスした年月の列を追加 | |
user_info['log_month'] = user_info['log_date'].apply(lambda x: str(x)[0:7]) | |
# インストールした年月の列を追加 | |
user_info['install_month'] = user_info['install_date'].apply(lambda x: str(x)[0:7]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment