False-positive on python:S4143

Hello @ctamblay,

First of all, welcome to the Sonar community!

Big thanks for the issue reporting. We’ve created the SONAPY-1521 ticket, which we already fixed and should be delivered in the next version of the analyzer.

By the way, I see you’re using Pandas, you might be interested to know we just announced 5 New Rules for Clean Code with the Pandas Library. We’d certainly love to have your feedback about these.

Cheers,
Maksim Grebeniuk