-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve docstrings #107
Comments
I would like to work on this issue.How Do I work on it? |
@souravsingh For how docstring should look like, you can look at existing docstring, and also take a look at the specification of the Numpy docstring standard: https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt for an explanation of the syntax and the different sections. Then I would say, go through the different methods/classes of geopandas and see if there are ones were a full docstring is lacking, and try to add an explanation of the parameters, add an example, .. |
@souravsingh Here's one example: The There are a few options to fix this example:
There are other missing and incomplete docstrings in the code, and the tradeoffs between these options may be slightly different in other cases. Thanks for helping out! |
@kjordahl even another option is to define |
Closed by recent documentation enhancements. |
Some docstrings are missing, some are fairly rudimentary. All modules, classes, methods and functions should have useful docstrings.
The text was updated successfully, but these errors were encountered: