Koalas: Return type consistency in docs

Created on 9 Mar 2020  路  3Comments  路  Source: databricks/koalas

It is currently not transparent what the return type of a kolas dataframe / series is.

Take for example
DataFrame.max()

Returns
maxscalar for a Series, and a Series for a DataFrame.

Returned type i receive is a pandas.Series

Series.value_counts()

Returns
counts Series

Returned type i receive is a databricks.koalas.series.Series

I would like to suggest that it is made clear in the docs across all functions what the return type is in all cases

In both these cases it is unclear what type of series is returned

bug

Most helpful comment

Thanks for letting me know. Will fix soon

All 3 comments

I think we should match it to Koalas Series.

kdf.nunique() still returns a pandas series

Thanks for letting me know. Will fix soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chunyang picture chunyang  路  6Comments

ueshin picture ueshin  路  3Comments

mks2192 picture mks2192  路  4Comments

brookewenig picture brookewenig  路  5Comments

tdliu picture tdliu  路  6Comments