collegebaseball/ncaa_scraper.py
def _eliminate_dashes(df):
    """
    A helper function to replace the weird dashes the NCAA uses with 0.00

    Args: 
        df (DataFrame): 
    Returns:
        Dataframe with dashes replaced by 0.00 (not a copy!)
    """
    df.replace('None', 0.00, inplace=True)
    df.replace('<NA>', 0.00, inplace=True)
    df.replace('', 0.00, inplace=True)
    df.replace(' ', 0.00, inplace=True)
    df.replace('-', 0.00, inplace=True)
    df.replace('--', 0.00, inplace=True)
    df.replace('---', 0.00, inplace=True)
    df.replace('  -', 0.00, inplace=True)
    df.replace('- -', 0.00, inplace=True)
    df.replace('-  ', 0.00, inplace=True)
    return df

    A helper function to replace the weird dashes the NCAA uses with 0.00

    Args: 
        df (DataFrame): 
    Returns:
        Dataframe with dashes replaced by 0.00 (not a copy!)
    
A helper function to replace the weird dashes the NCAA uses with 0.00
A helper function to replace the weird dashes the NCAA uses with 0 . 00
def _eliminate_dashes(df):
    df.replace('None', 0.00, inplace=True)
    df.replace('<NA>', 0.00, inplace=True)
    df.replace('', 0.00, inplace=True)
    df.replace(' ', 0.00, inplace=True)
    df.replace('-', 0.00, inplace=True)
    df.replace('--', 0.00, inplace=True)
    df.replace('---', 0.00, inplace=True)
    df.replace('  -', 0.00, inplace=True)
    df.replace('- -', 0.00, inplace=True)
    df.replace('-  ', 0.00, inplace=True)
    return df
def _eliminate_dashes ( df ) : df . replace ( 'None' , 0.00 , inplace = True ) df . replace ( '<NA>' , 0.00 , inplace = True ) df . replace ( '' , 0.00 , inplace = True ) df . replace ( ' ' , 0.00 , inplace = True ) df . replace ( '-' , 0.00 , inplace = True ) df . replace ( '--' , 0.00 , inplace = True ) df . replace ( '---' , 0.00 , inplace = True ) df . replace ( '  -' , 0.00 , inplace = True ) df . replace ( '- -' , 0.00 , inplace = True ) df . replace ( '-  ' , 0.00 , inplace = True ) return df
A helper function to replace the weird dashes the NCAA uses with 0.00
A helper function to replace the weird dashes the NCAA uses with 0 . 00
"""
    A helper function to replace the weird dashes the NCAA uses with 0.00

    Args: 
        df (DataFrame): 
    Returns:
        Dataframe with dashes replaced by 0.00 (not a copy!)
    """
Dataframe with dashes replaced by 0.00 (not a copy!)
Dataframe with dashes replaced by 0 . 00 ( not a copy! )
df
None