In java, if you search up a class, you can usually find all of the available methods that are provided from the class. It tells you the parameters and the return type. However, in python, I haven't been able to find anything like that. The official docs.python.org Has examples of some method uses but they sometimes they don't seem to mention exactly what the arguments it takes in are and what the return type is.
For example, when I was looking at the counter object, I was not able to find exactly what keys() method does and what it returns. Similarly, i saw another usage of the counter class with get but I was not able to find that on that website either.
Does anyone have any suggestions to documentation that is very similar to Java? Or if not, the best approach to figuring out what each method does in python.