Last active
May 31, 2019 13:34
-
-
Save lucdangelis/500787b643ed21679d7e91db4a36546f 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
#Plot historical probability of being alive | |
customer_id = .. | |
days_since_birth = .... | |
sp_trans = transaction_data.loc[transaction_data['customer_id'] == customer_id] | |
plot_history_alive(bgf, days_since_birth, sp_trans, 'date') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment