dimanche 10 juillet 2016

Set IntelliJ/Pycharm to handle pandas "Unresolved references" warning


Whenever I try to access a non-method attribute of a Series or DataFrame (such as columns or loc), IntelliJ throws me an "unresolved reference" warning which doesn't crash my code, but is fairly annoying to see. I'd rather not disable this inspection, and I'd like to avoid peppering my code with suppressions.

I've set the "Collect run-time types information for code insight" option of the debugger, but this didn't work. I've also tried adding references to ignore in the "Ignore References" list in the Inspections tab, but nothing I tried seemed to work.

The warning I get will be something like Cannot find reference loc in 'Series | Series'.


Aucun commentaire:

Enregistrer un commentaire