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
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
I think we should match it to Koalas Series.
kdf.nunique() still returns a pandas series
Thanks for letting me know. Will fix soon
Most helpful comment
Thanks for letting me know. Will fix soon