Quantipy / quantipy

Python for people data
MIT License
66 stars 14 forks source link

sorting nets (str) vs. values (int): review code that identifies sort col value #1152

Closed alextanski closed 5 years ago

alextanski commented 6 years ago

In this block:

                # get df-desc-slice to sort on
                elif sort_on_stat:
                    f = self._get_descriptive_via_stack(col_key, sort_on)
                # get df-net-slice to sort on
                elif sort_on_net:
                    f = self._get_net_via_stack(col_key, sort_on)
                # get df-freq-slice to sort on
                else:
                    f = self._get_frequency_via_stack(col_key, axis, self._sort_weight)