Skip to content

[FEATURE]: Support more column types for resampling and interpolating #420

@BrianDeacon

Description

@BrianDeacon

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

My vanilla use case is wanting to forward fill dates (not the dates used for the time series, but another date value)

Proposed Solution

My read of the code is that "average" aggregation and "linear" interpolation are the only cases that actually require the target columns be numeric. Except for arrays, maps and structs, other data types could be floor'd ceil'd, min'd and max'd for aggregation. Interpolation could ffill and bfill with no problem.

Could interpolate and aggregate be more specific in what column types it forbids based on the type of operation being performed on it? I'd really like to ceil and ffill a date column.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions