December 2015
Beginner to intermediate
202 pages
4h
English
According to a definition provided by Google, quantiles are any set of values of a that divide a frequency distribution into equal groups, each containing the same fraction of the total population. Examples of quantiles in everyday life include things such as top 10 percent of the class or the bottom 5 percent of customers. We can create any quantile we want using Pandas.
import pandas as pd
accidents_data_file = '/Users/robertdempsey/Dropbox/private/Python Business Intelligence Cookbook/Data/Stats19-Data1979-2004/Accidents7904.csv' accidents = ...
Read now
Unlock full access