Skip to content

Estimating Suppressed QCEW Data #269

Discussion options

You must be logged in to vote

I think this function accomplishes the desired goal. @catherinebirney or @bl-young , could you look it over and tell me what you think? Or if I've just misunderstood what we're trying to accomplish?

def estimate_suppressed_qcew(fba: FlowByActivity) -> FlowByActivity:
indexed = (
fba
.assign(n2=fba.ActivityProducedBy.str.slice(stop=2),
n3=fba.ActivityProducedBy.str.slice(stop=3),
n4=fba.ActivityProducedBy.str.slice(stop=4),
n5=fba.ActivityProducedBy.str.slice(stop=5),
n6=fba.ActivityProducedBy.str.slice(stop=6),
location=fba.Location,
category=fba

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@catherinebirney
Comment options

@matthewlchambers
Comment options

matthewlchambers Sep 12, 2022
Collaborator Author

@catherinebirney
Comment options

@matthewlchambers
Comment options

matthewlchambers Sep 13, 2022
Collaborator Author

Answer selected by matthewlchambers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants