code/work_data.py
def basic_descriptive(my_df):
    """
    Report basic descriptive stats for a pd.DataFrame.
    Args:
        my_df (pd.DataFrame): target DataFrame.

    Returns:
        Nothing. All results are printed.
    """
    n_row, n_col = my_df.shape
    cols = my_df.columns
    logger.info('# observations: {0}'.format(n_row))
    logger.info('# features: {0}'.format(n_col))
    logger.info('Features: {0}'.format(cols))
    return

    Report basic descriptive stats for a pd.DataFrame.
    Args:
        my_df (pd.DataFrame): target DataFrame.

    Returns:
        Nothing. All results are printed.
    
Report basic descriptive stats for a pd.DataFrame.
Report basic descriptive stats for a pd . DataFrame .
def basic_descriptive(my_df):
    n_row, n_col = my_df.shape
    cols = my_df.columns
    logger.info('# observations: {0}'.format(n_row))
    logger.info('# features: {0}'.format(n_col))
    logger.info('Features: {0}'.format(cols))
    return
def basic_descriptive ( my_df ) : n_row , n_col = my_df . shape cols = my_df . columns logger . info ( '# observations: {0}' . format ( n_row ) ) logger . info ( '# features: {0}' . format ( n_col ) ) logger . info ( 'Features: {0}' . format ( cols ) ) return
Report basic descriptive stats for a pd.DataFrame.
Report basic descriptive stats for a pd . DataFrame .
"""
    Report basic descriptive stats for a pd.DataFrame.
    Args:
        my_df (pd.DataFrame): target DataFrame.

    Returns:
        Nothing. All results are printed.
    """
Nothing. All results are printed.
Nothing . All results are printed .
my_df
None