Created
June 6, 2019 16:43
-
-
Save ravishchawla/ca73d89e20bec0ca0f338c25bf1436ce to your computer and use it in GitHub Desktop.
Starbucks post: Loading the data and creating visualizations
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 Loading | |
portfolio = pd.read_json('data/portfolio.json', orient='records', lines=True) | |
profile = pd.read_json('data/profile.json', orient='records', lines=True) | |
transcript = pd.read_json('data/transcript.json', orient='records', lines=True) | |
# Cross Plot Visualizations | |
sns.pairplot(portfolio, hue='offer_type') | |
sns.pairplot(profile.dropna(), hue='gender') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you tell me about data set for this project, please.