Skip to content

Why are docs for the API not public? #2195

Answered by itholic
eavilaes asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your contribution!!

Koalas use sphinx to build the docs.

So if you want to fix some API documents, you can fix the docstring in source codes.

For example, if you want to fix DataFrame.astype API documents, fix the below docstring:

def astype(self, dtype) -> "DataFrame":
"""
Cast a Koalas object to a specified dtype ``dtype``.
Parameters
----------
dtype : data type, or dict of column name -> data type
Use a numpy.dtype or Python type to cast entire Koalas object to
the same type. Alternatively, use {col: dtype, ...}, where col is a
column label and dt…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eavilaes
Comment options

@itholic
Comment options

Answer selected by eavilaes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants