Open
Description
I thought this is what pyprojroot was providing, but it is not...
The raw URL is used a lot in the package and I think it would convenient to provide it in the package.
import pandas as pd
from pymc_marketing.paths import data_url
file = data_url / "mmm_example.csv"
df = pd.read_csv(file, parse_dates=["date_week"])
Then anything here can easily be constructed.
https://github.com/pymc-labs/pymc-marketing/blob/8a0b0767ce93c820e568a1ff09d54148ec4a3fac/data/
Here are all the references:
https://github.com/search?q=repo%3Apymc-labs%2Fpymc-marketing%20%22raw.github%22&type=code
Activity