DOC: updated docstrings in python