def METHOD_NAME(self, version: str = None) -> pd.DataFrame:
    """python major endpoint
    Args:
        version (str, optional): filter by the major version number. Defaults to None.
    Returns:
        pd.DataFrame: pandas dataframe
    """
    endpoint: str = path.join(self.endpoint, "python_major")
    params: Dict = {}
    if version is not None:
        params["version"] = version
    payload = requests.get(endpoint, params=params).json()["data"]
    df = self.__to_dataframe(payload, limit=self.limit)
    return df