def lines(ds, prop="pressure", stat="mean"):
    """
    Takes in xarray Dataset and creates a pandas DataFrame suitable for line chart, with x axis as date dimension.

    Parameters
    ----------
    ds : xarray Dataset
        A dataset of aggregated data with a specified format

    prop : str, default 'pressure'
        Atmospheric property of interest
        
    stat : str, default 'count'
        A statistic of interest to show on the plot. Options: count, mean, median, std, min, max
    
    Returns
    -------
    df : pandas DataFrame
        A 'tidy' dataframe suitable for plotting data
    """

    da = ds.sel(stat=stat)[prop]
    df = da.to_dataframe(name=stat).drop(["stat"], axis=1)
    
    df = df.dropna().reset_index()
    df = df.zip_columns(["lat","lng"])
    
    return df