We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e919259 commit 749bd2aCopy full SHA for 749bd2a
tariff_fetch/cli.py
@@ -17,7 +17,6 @@
17
from ._cli.types import Provider, StateCode, Utility
18
19
ENTITY_TYPES_SORTORDER = ["Investor Owned", "Cooperative", "Municipal"]
20
-ENTITY_TYPES_EXCLUDE = ["Retail Power Marketer"]
21
22
23
def prompt_state() -> StateCode:
@@ -44,7 +43,6 @@ def prompt_utility(state: str) -> Utility:
44
43
pl.read_parquet(CORE_EIA861_Yearly_Sales.https)
45
.filter(pl.col("state") == state.upper())
46
.filter(pl.col("report_date") == pl.col("report_date").max().over("utility_id_eia"))
47
- .filter(pl.col("entity_type").is_in(ENTITY_TYPES_EXCLUDE).not_())
48
.group_by("utility_id_eia")
49
.agg(
50
pl.col("utility_name_eia").last().alias("utility_name"),
0 commit comments