Skip to content

0.4.0

Compare
Choose a tag to compare
@philsv philsv released this 01 Aug 20:45
· 6 commits to main since this release

Add functionality for multiple facet search

Breaking Change:

  • get_series_via_route is no longer able to handle multiple series

You can still create your own for loop outside of the function.

For example:

data = []
for item in ["RNGC1", "RNGC2"]:
    df = eia.get_series_via_route(
    route="natural-gas/pri/fut",
    series=item,
    frequency="daily",
    facet="series",
    )
    data.append(df)

df = pd.concat(data, axis=1)
df.head()