8000 Support floats in range_frame · Issue #133 · pyranges/pyranges1 · GitHub
[go: up one dir, main page]

Skip to content

Support floats in range_frame #133

Open

Description

@endrebak

It does not make sense for pyranges to support float operations, but it does for range_frame.

PyRanges should support all operations in RangeFrame but on the narrower domain of integers. This keeps the Liskov Substitution Principle.

First ruranges-core must be updated to support floats and then pyranges can be so.

However, floating point operations need their own implementations of the algorithms with epsilon compares to avoid edge cases.

Activity

  1. endrebak commented on Feb 15, 2026

    @endrebak
    CollaboratorAuthor

    Due to needing their own operations this might be a won't-fix

  2. marco-mariotti commented on Feb 16, 2026

    @marco-mariotti
    Member

    My 5 cents: I don't think this is a priority. Pandas v3 still needs a fix

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

      0