Data Profile
Summary info
def singlevalue(my_series):
"""
input: pd.series
output: the number of single values
"""
value = len(my_series.value_counts()[my_series.value_counts() == 1])
return value
def df_explore(data_explore):
"""
input: pandas dataframe
output:
1. the shape of the data frame
2. the number of unique value in each column
3. the …