Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Tweaks logging when concatenating Dataframes #322

Merged
merged 2 commits into from
Feb 20, 2023
Merged

Conversation

skrawcz
Copy link
Collaborator

@skrawcz skrawcz commented Feb 20, 2023

We should push for a convention to help make it easy to debug those columns and find the code if there is an issue. I don't hard code the convention here because I don't want to preclude things. Otherwise an annoying warning is probably good for now -- and could be removed/moved to debug later.

Changes

  • base.py

How I tested this

  • locally

Notes

Checklist

  • PR has an informative and human-readable title (this will be pulled into the release notes)
  • Changes are limited to a single goal (no scope creep)
  • Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future TODOs are captured in comments
  • Project documentation has been updated if adding/changing functionality.

We should push for a convention to help make it easy to debug
those columns and find the code if there is an issue. I don't hard code the
convention here because I don't want to preclude things. Otherwise an annoying
warning is probably good for now -- and could be removed/moved to
debug later.
That way we know how to map an output back to the function.
We decided this was a better approach for now. We don't want to
lose the linkage between output and function, but for dataframe
flattening, this is the best approach.

It does mean that the columns cease being valid python identifiers,
but that's fine because we're in build_result. If people complain
we can figure out a way to change it.

Upside is that we have less code to check/manage with this approach.
@skrawcz skrawcz merged commit 01087f0 into main Feb 20, 2023
@skrawcz skrawcz deleted the tweak_df_concat_log branch February 20, 2023 17:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants