Skip to content

Allow more column types to be interpolated #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BrianDeacon
Copy link

@BrianDeacon BrianDeacon commented Mar 17, 2025

linear and zero interpolation methods continue to require numeric column types, but ffill, bfill, and null will work on any column type.

Changes

Rather than a blanket rejection of all non-numeric column types, the requirements are applied on a per-column basis depending on the interpolation method required. ValueError is still thrown when the column type doesn't work, but the check is done at the time of attempting to interpolate the column.

Linked issues

Resolves #420

Functionality

  • added relevant user documentation
  • added a new Class method
  • modified existing Class method: ...
  • added a new function
  • modified existing function: ...
  • added a new test
  • modified existing test: ...
  • added a new example
  • modified existing example: ...
  • added a new utility
  • modified existing utility: ...

Tests

  • manually tested
  • added unit tests
  • added integration tests
  • verified on staging environment (screenshot attached)

@BrianDeacon BrianDeacon changed the title Allow resampling to only reject column types that cannot work for the… Allow interpolation to only reject column types that cannot work for the… Mar 20, 2025
@BrianDeacon BrianDeacon changed the title Allow interpolation to only reject column types that cannot work for the… Allow more column types to be interpolated Mar 20, 2025
@BrianDeacon BrianDeacon marked this pull request as ready for review March 21, 2025 20:09
@R7L208
Copy link
Contributor

R7L208 commented Mar 25, 2025

Hey @BrianDeacon - Given the Databricks License and that our Databricks Labs workflow broke to accept external contributions; I'm not sure if this can be merged. I am checking on options for you

cc: @pohlposition @gueniai

@BrianDeacon
Copy link
Author

Hey @BrianDeacon - Given the Databricks License and that our Databricks Labs workflow broke to accept external contributions; I'm not sure if this can be merged. I am checking on options for you

cc: @pohlposition @gueniai

I mean, I'm pretty sure this just fell off a truck, and you wrote it @R7L208

;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE]: Support more column types for resampling and interpolating
3 participants