(self, attr)
return data_df[[attr]].loc[data_df[attr] != NULL_REPR].groupby([attr]).size().to_dict()
Returns a dictionary where the keys are domain values for :param attr: and
        the values contain the frequency count of that value for this attribute.
Returns a dictionary where the keys are domain values for :param attr: and
        the values contain the frequency count of that value for this attribute.
Returns a dictionary where the keys are domain values for : param attr : and the values contain the frequency count of that value for this attribute .
def get_stats_single(self, attr):
        """
        Returns a dictionary where the keys are domain values for :param attr: and
        the values contain the frequency count of that value for this attribute.
        """
        # need to decode values into unicode strings since we do lookups via
        # unicode strings from Postgres
        data_df = self.get_raw_data()
        return data_df[[attr]].loc[data_df[attr] != NULL_REPR].groupby([attr]).size().to_dict()
def get_stats_single ( self , attr ) : # need to decode values into unicode strings since we do lookups via # unicode strings from Postgres data_df = self . get_raw_data ( ) return data_df [ [ attr ] ] . loc [ data_df [ attr ] != NULL_REPR ] . groupby ( [ attr ] ) . size ( ) . to_dict ( )