@property<EOL><INDENT>def dict(self):<DEDENT>
try:<EOL><INDENT>skewness = self.skewness<EOL>kurtosis = self.kurtosis<EOL><DEDENT>except ZeroDivisionError:<EOL><INDENT>skewness = kurtosis = float('<STR_LIT>')<EOL><DEDENT>base_cols = [<EOL>('<STR_LIT:name>', self.column_name),<EOL>('<STR_LIT>', self.flags),<EOL>('<STR_LIT:type>', self.type.__name__ ),<EOL>('<STR_LIT>', self.lom),<EOL>('<STR_LIT:count>', self.n),<EOL>('<STR_LIT>', self.nuniques),<EOL>('<STR_LIT:width>', self.size),<EOL>]<EOL>descriptive_cols = [<EOL>('<STR_LIT>', self.mean),<EOL>('<STR_LIT>', self.stddev),<EOL>('<STR_LIT>', self.min),<EOL>('<STR_LIT>', self.p25),<EOL>('<STR_LIT>', self.p50),<EOL>('<STR_LIT>', self.p75),<EOL>('<STR_LIT>', self.max)<EOL>]<EOL>distribution_cols = [<EOL>('<STR_LIT>', skewness),<EOL>('<STR_LIT>', kurtosis),<EOL>('<STR_LIT>', self.bins),<EOL>('<STR_LIT>', text_hist(self.bins)),<EOL>]<EOL>sample_values_cols = [<EOL>('<STR_LIT>', self.uvalues)<EOL>]<EOL>return OrderedDict(<EOL>base_cols +<EOL>(descriptive_cols if self.descriptive else []) +<EOL>(distribution_cols if self.distribution else []) +<EOL>(sample_values_cols if self.sample_values else [])<EOL>)<EOL>
Return a  dict that can be passed into the ColumnStats constructor