Skip to content

Incorrect Recommendation for unnecessary-lambda #9317

Open
@scootie-puff-sr

Description

@scootie-puff-sr

https://github.com/pylint-dev/pylint/blob/278de0f43e389142d14d2ba2a47b770c2d84a085/doc/data/messages/u/unnecessary-lambda/good/pandas.py#L1C7-L1C7

Turns out this doesn't seem to be valid, because python interprets str in df.apply(str) as a type instead of a method. At least this is the case in 3.10+

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentation 📗Good first issueFriendly and approachable by new contributorsHelp wanted 🙏Outside help would be appreciated, good for new contributorsNeeds investigation 🔬A bug or crash where it's not immediately obvious what is happenning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions