show distribution of each item in list python 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: distribution analysis pandas
#First we import scipy function to determine the mode
from scipy.stats import mode
mode(data['Gender'])