pylint-dev/pylint

Incorrect Recommendation for unnecessary-lambda

Open

#9.317 geöffnet am 18. Dez. 2023

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Python (1.059 Forks)batch import
Documentation :green_book:Good first issueHacktoberfestHelp wanted 🙏Needs investigation 🔬

Repository-Metriken

Stars
 (4.978 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 58T 21h) (63 gemergte PRs in 30 T)

Beschreibung

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+

Contributor Guide