Built with blockbuilder.org
Built with blockbuilder.org
Built with blockbuilder.org
Built with blockbuilder.org
Built with blockbuilder.org
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
# which columns from the data frame to plot | |
columns_to_plot = df.ix[:, df.columns != 'Customer ID'].columns | |
# facet plot dimensions | |
plot_columns = 5 | |
plot_rows =math.ceil(len(columns_to_plot)/plot_columns) | |
# create figure | |
fig, ax = plt.subplots(plot_rows, plot_columns, figsize=(15,20)) | |
fig.subplots_adjust(hspace=0.6) # adjust vertical spacing between plots |
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
from IPython.display import HTML | |
HTML('''<script> | |
function code_toggle() { | |
if (code_shown){ | |
$('div.input').hide('500'); | |
$('#toggleButton').val('Show Code') | |
} else { | |
$('div.input').show('500'); | |
$('#toggleButton').val('Hide Code') | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.