def tdist95conf_level(df):
df = int(round(df))<EOL>highest_table_df = len(_T_DIST_95_CONF_LEVELS)<EOL>if df >= <NUM_LIT:200>:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if df >= <NUM_LIT:100>:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if df >= <NUM_LIT>:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if df >= <NUM_LIT>:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if df >= <NUM_LIT:50>:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if df >= <NUM_LIT>:<EOL><INDENT>return <NUM_LIT><EOL><DEDENT>if df >= highest_table_df:<EOL><INDENT>return _T_DIST_95_CONF_LEVELS[highest_table_df - <NUM_LIT:1>]<EOL><DEDENT>return _T_DIST_95_CONF_LEVELS[df]<EOL>
Approximate the 95% confidence interval for Student's T distribution.

    Given the degrees of freedom, returns an approximation to the 95%
    confidence interval for the Student's T distribution.

    Args:
        df: An integer, the number of degrees of freedom.

    Returns:
        A float.