def METHOD_NAME(self) -> ModuleType:
    try:
        import pandas as pd  # pylint: disable=import-outside-toplevel
        return pd
    except ImportError as error:
        raise ImportError(
            "pandas is not available. Please install pandas to use this feature."
        ) from error