fmt
This commit is contained in:
parent
cf348c3ea4
commit
d1faad314b
14 changed files with 55 additions and 35 deletions
|
|
@ -139,9 +139,6 @@ def curate(tw: pl.DataFrame) -> list[dict]:
|
|||
|
||||
|
||||
def national_findings(idx: pl.DataFrame, facts: dict) -> list[dict]:
|
||||
named = idx.with_columns(
|
||||
pl.col("Sector").str.extract(r"^([A-Z]+[0-9][A-Z0-9]?)", 1).alias("outward")
|
||||
)
|
||||
best = facts["best_value_sector"]
|
||||
dear = facts["dearest_sector"]
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue