def test_row(dataframe):
    """
    test if dataframe contains at least one row

    Parameters
    ----------
    dataframe: pandas dataframe

    Raises
    ------
    ValueError
        If number of row is smaller than 1, raise ValueError

    Returns
    -------
    is_valid: boolean
        True if greater than 1, False if lower than 1
    """
    is_valid = True
    if len(dataframe) < 1:
        is_valid = False
        raise ValueError("dataframe must has at least one row")
    return is_valid