Code/5-data-cleansing/clean_met.py
def read_data(location="Data/MetObjects_sample.csv"):
    """
    Loads data file from location, and loads it into a pandas data frame.
    Print same basic information.
    Returns DF
    """
    data = pd.read_csv(
        location,
        delimiter=",",
    )

    logging.info(" Met Dataset ".center(30, "="))
    logging.info(data.head(10))

    filas, columnas = data.shape
    logging.info(f"\nDataset has {filas} rows and {columnas} columns\n")
    return data

    Loads data file from location, and loads it into a pandas data frame.
    Print same basic information.
    Returns DF
    
Loads data file from location, and loads it into a pandas data frame.
Print same basic information.
Returns DF
Loads data file from location and loads it into a pandas data frame . Print same basic information . Returns DF
def read_data(location="Data/MetObjects_sample.csv"):
    data = pd.read_csv(
        location,
        delimiter=",",
    )
    logging.info(" Met Dataset ".center(30, "="))
    logging.info(data.head(10))
    filas, columnas = data.shape
    logging.info(f"\nDataset has {filas} rows and {columnas} columns\n")
    return data
def read_data ( location = "Data/MetObjects_sample.csv" ) : data = pd . read_csv ( location , delimiter = "," , ) logging . info ( " Met Dataset " . center ( 30 , "=" ) ) logging . info ( data . head ( 10 ) ) filas , columnas = data . shape logging . info ( f"\nDataset has {filas} rows and {columnas} columns\n" ) return data
Loads data file from location, and loads it into a pandas data frame.
Loads data file from location and loads it into a pandas data frame .
"""
    Loads data file from location, and loads it into a pandas data frame.
    Print same basic information.
    Returns DF
    """
location