Dec-03-2017, 06:19 PM
I've noticed that PyCharm sometimes fails to drill down to give me method pop-ups when I'm typing. As this problem never occurs using Intellij (Java), I'm thus wondering if the PyCharm "missing methods" are a bug in PyCharm or perhaps a consequence of how Python works.
Here's an example:
import pandas as pd
sports = { 'Archery''' : 'Bhutan' ,
'Golf' : 'Scotland',
'Sumo' : 'Japan',
'Taekwondo' : 'South Korea'}
s = pd.Series(sports)
Now, at this point, if I type "s." I should see a list of _all_ available methods, correct?
Yet, the method I needed, "iloc()" was not shown.
I can still manually (given that I know the method name), type this in and it works:
print(s.iloc[3])
---
So, my question is, should PyCharm have given me the iloc() method/function in the list of available items when I typed "s.__" or is Python somehow a different thing where some methods are not discover-able or something else?
I've noticed this missing method "issue" (assuming it's a bug) in many places using PyCharm.
Look forward to anyone's thoughts on this.
Thanks,
Here's an example:
import pandas as pd
sports = { 'Archery''' : 'Bhutan' ,
'Golf' : 'Scotland',
'Sumo' : 'Japan',
'Taekwondo' : 'South Korea'}
s = pd.Series(sports)
Now, at this point, if I type "s." I should see a list of _all_ available methods, correct?
Yet, the method I needed, "iloc()" was not shown.
I can still manually (given that I know the method name), type this in and it works:
print(s.iloc[3])
---
So, my question is, should PyCharm have given me the iloc() method/function in the list of available items when I typed "s.__" or is Python somehow a different thing where some methods are not discover-able or something else?
I've noticed this missing method "issue" (assuming it's a bug) in many places using PyCharm.
Look forward to anyone's thoughts on this.
Thanks,