pandas fast way to view distribution by group code example
Example 1: distribution analysis pandas
data.loc[(data["Gender"]=="Female") & (data["Education"]=="Not Graduate") & (data["Loan_Status"]=="Y"), ["Gender","Education","Loan_Status"]]
Example 2: pandas fast way to view distribution by group
#how to view distributions of data by groups
data.groupby('class').hist()
Example 3: distribution analysis pandas
import pandas as pd
import numpy as np
data = pd.read_csv("train.csv", index_col="Loan_ID")