Closed jdangerx closed 9 months ago
All modified lines are covered by tests :white_check_mark:
Comparison is base (
a29bee2
) 93.09% compared to head (c987bd6
) 93.09%. Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Yeah, I think we plant our mental seeds now and then reap them when we have to integrate 2023 data 🌱
In https://github.com/catalyst-cooperative/pudl/issues/2897 I found that we were missing some columns because the
.unstack()
inconstruct_dataframe
doesn't create columns for values that don't show up at all, even if they're defined in the metadata. Applying a reindex makes sure we get everything.This also was causing some integration test failures - when running the ETL in-process, we would:
Lastly, I wonder if there's a way we could keep our extracted tables tidy - our transforms in PUDL promptly re-stack these wide tables in
wide_to_tidy
, so maybe we can skip that completely. But that's definitely out of scope of this PR.