Skip to content

Dropping non-finite entries #7314

Closed
@amelio-vazquez-reina

Description

@amelio-vazquez-reina

I have been looking for a solution for this for a long time. I tried the ideas in the following threads (with the latest Pandas):

  1. Keep finite entries only in Pandas
  2. Row filtering so that we only keep finite entries

but none of them work. See thread 2 above, and the comments in its only answer to see why.

What is a good way to drop indices (either rows or columns) that meet a specific criteria such as: "they contain entries that are not finite".?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugNumeric OperationsArithmetic, Comparison, and Logical operations

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions