Skip to content

CLN: Replace bare exceptions with more descriptive ones #3954

Closed
@jtratner

Description

@jtratner

I'm moving this to an issue so it's easier to track and I can split into separate, smaller, pull requests. (previously was #3924).

For right now, the goal is to take care of the low-hanging fruit (the really obvious items that should be TypeError, ValueError, etc.) and then potentially take on more of the code base later.

Packages/Files where exceptions have been changed (will be checked off once test cases are edited for them)

  • merge
  • stats/common
  • tools/tile
  • core/common
  • core/format
  • core/frame
  • pandas/sparse
  • pandas/tseries
  • core/internals
  • core/index
  • core/panel
  • core/series
  • core/panelnd
  • rpy/common
  • io/excel

More to come...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Error ReportingIncorrect or improved errors from pandas

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions