Skip to content

ENH: Support for both close #53

@PaleNeutron

Description

@PaleNeutron

Is your feature request related to a problem?

import pandas as pd
import piso
piso.register_accessors()
arr = pd.arrays.IntervalArray.from_tuples(
       [(1,5), (3,6), (2,4)], closed="both")
 
arr.piso.intersection()

Describe the solution you'd like

[[3, 4]]

In interval computation closed interval is a quite normal case, can you support that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions