Skip to content

Option to Raise Exception on Unmapped Value in Series.map #14210

@cancan101

Description

@cancan101

Add a flag (or extend na_action) to raise an exception in Series.map if a value is not successfully mapped (ie in the case where arg is a dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementError ReportingIncorrect or improved errors from pandasMissing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions