- Operating system: Windows
- SonarLint plugin version: 9.1.0.75538
- Programming language you’re coding in: Python
- Is connected mode used: Yes
- Connected to SonarCloud
Sonarlint raises an issue (rule S6735) for not passing the parameter “on” when evaluating the following line of code that uses pandas.merge:
df = pd.merge(df, df_merge, left_on=col, right_on='cat', how='left', validate='m:m')
even though the parameters left_on and right_on were passed. In the description of the rule it says “This is why it is a good practice to provide the parameters how, on (or left_on and right_on) and validate to the pandas’ merge and join.”, so I believe this is a bug.