I’m taking Data Analysis with Python course and am trying to rely mostly on offline documentation so far. I used zeal (apt install zeal for Linux) - an offline documentation
browser, but its search seems awful and some GUI rendering for Pandas docs as well.
help() methods in Jupyter Notebook to get more info on function definitions used in the course,:
help(plt.plot) dir(opened_csvfile_handle) dir(opened_csvfile_handle.loc) help(opened_csvfile_handle.apply) help(opened_csvfile_handle.head)
And I can’t find for example which values for plot types does the argument “kind” of plot()
function takes. There seems to be no such info in the output of help(plt.plot).
dir() shows all names defined in a namespace or for a given object/function. For methods it returns many types like name and _name. As I know, a single underscore in _name is only a convention to denote private methods inside classes. And double underscored names are also some methods used only within a class definition. Does double underscore have any functional value (like keywords, for example)? Can I use double underscored methods available for a method/object queried via dir()?