collegebaseball/boydsworld_scraper.py
def _set_dtypes(df):
    """
    A helper function to sets the datatypes of newly added columns
    """
    df.loc[:,"run_difference"] = df.loc[:,"run_difference"].astype(int)
    df.loc[:,"runs_allowed"] = df.loc[:,"runs_allowed"].astype(int)
    df.loc[:,"runs_scored"] = df.loc[:,"runs_scored"].astype(int)
    return df

    A helper function to sets the datatypes of newly added columns
    
A helper function to sets the datatypes of newly added columns
A helper function to sets the datatypes of newly added columns
def _set_dtypes(df):
    df.loc[:,"run_difference"] = df.loc[:,"run_difference"].astype(int)
    df.loc[:,"runs_allowed"] = df.loc[:,"runs_allowed"].astype(int)
    df.loc[:,"runs_scored"] = df.loc[:,"runs_scored"].astype(int)
    return df
def _set_dtypes ( df ) : df . loc [ : , "run_difference" ] = df . loc [ : , "run_difference" ] . astype ( int ) df . loc [ : , "runs_allowed" ] = df . loc [ : , "runs_allowed" ] . astype ( int ) df . loc [ : , "runs_scored" ] = df . loc [ : , "runs_scored" ] . astype ( int ) return df
A helper function to sets the datatypes of newly added columns
A helper function to sets the datatypes of newly added columns
"""
    A helper function to sets the datatypes of newly added columns
    """
df