def METHOD_NAME(self, count: int = 5, what: str = '', reverse: str = 'False',
        **kwargs) -> int:
    """Deprecated. Use 'namespace top' instead
    Args:
        count (int, optional): Number of entries to return. Defaults to 5
        what (str, optional): Field name to use for largest/smallest val
        reverse (bool, optional): Reverse and return n smallest
    Returns:
        int: 0 or error code
    """
    # backward compatibility
    self._print_depracation_command_warning('namespace', 'top')
    now = time.time()
    df = self._invoke_sqobj(self.sqobj.METHOD_NAME,
                            hostname=self.hostname,
                            namespace=self.namespace,
                            query_str=self.query_str,
                            what=what, count=count,
                            reverse=ast.literal_eval(reverse),
                            ignore_warning=True,
                            **self.lvars,
                            **kwargs,
                            )
    self.ctxt.exec_time = "{:5.4f}s".format(time.time() - now)
    if 'error' in df.columns:
        return self._gen_output(df)
    if not df.empty:
        df = self.sqobj.humanize_fields(df)
        return self._gen_output(df.sort_values(
            by=[what], ascending=(reverse == "True")),
            dont_strip_cols=True, sort=False)
    else:
        return self._gen_output(df)