Skip to content

ENH: define searchsorted on a Series #6712

Closed
@jreback

Description

@jreback

http://stackoverflow.com/questions/22669208/attributeerror-series-object-has-no-attribute-searchsorted-pandas

essentially a pass thru to np.searchsorted

  • should return the index (rather than indices)
  • can better handle datetime64[ns] (e.g. coerce input to/fro)
  • could check if sorted internally (e.g. is_monotonic on the index), other pass the sorter argument)

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignAlgosNon-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diffEnhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions