(cls, func, prefix=settings.ORIGINAL_METHOD_PREFIX)
return getattr(cls, f"{prefix}{func.__name__}")
Get original pandas method

        :param cls: pandas class
        :param func: pandas method name
        :param prefix: the prefix used to keep original method
        :return: Original pandas method
Get original pandas method
Get original pandas method
def get_pandas_func(cls, func, prefix=settings.ORIGINAL_METHOD_PREFIX):
    """ Get original pandas method

        :param cls: pandas class
        :param func: pandas method name
        :param prefix: the prefix used to keep original method
        :return: Original pandas method
    """

    _raise_on_bad_class(cls)
    return getattr(cls, f"{prefix}{func.__name__}")
def get_pandas_func ( cls , func , prefix = settings . ORIGINAL_METHOD_PREFIX ) : _raise_on_bad_class ( cls ) return getattr ( cls , f"{prefix}{func.__name__}" )