Skip to content

Can't use Series.greater_equal/2 on datetime column, despite documentation suggesting it is possible #1130

Description

@astutecat

Hi!

I am trying to use Series.greater_equal/2 on a column that has a dtype of :datetime and I am getting an error:

** (ArgumentError) Explorer.Series.greater_equal/2 not implemented for dtype {:datetime, :microsecond, "Etc/UTC"}. Valid dtypes are :date, :time, {:duration, :microsecond}, {:duration, :millisecond}, {:duration, :nanosecond}, {:f, 32}, {:f, 64}, {:naive_datetime, :microsecond}, {:naive_datetime, :millisecond}, {:naive_datetime, :nanosecond}, {:s, 8}, {:s, 16}, {:s, 32}, {:s, 64}, {:u, 8}, {:u, 16}, {:u, 32} and {:u, 64}

This is odd since the documentation seems to suggest that :datetime is supported, but this error suggests it is not -- I am wondering if this guard needs updated to support datetimes, or if the documentation is not accurate in stating that datetimes are supported.

For reference, I'm on explorer 0.11.1 at the moment.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions