-
Notifications
You must be signed in to change notification settings - Fork 367
Create docstring for DataFrameGroupBy.describe and reimplement leveraging _InternalFrame
#1202
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
Create docstring for DataFrameGroupBy.describe and reimplement leveraging _InternalFrame
#1202
Conversation
|
=================================== FAILURES ===================================
________ [doctest] databricks.koalas.groupby.DataFrameGroupBy.describe _________
194 a b c
195 0 1 4 7
196 1 1 5 8
197 2 3 6 9
198
199 Describing a ``DataFrame``. By default only numeric fields
200 are returned.
201
202 >>> described = df.groupby('a').describe()
203 >>> described # doctest: +NORMALIZE_WHITESPACE
Differences (unified diff with -expected +actual):
@@ -1,5 +1,5 @@
- b c
- count mean std min 25% 50% 75% max count mean std min 25% 50% 75% max
-a
-1 2.0 4.5 0.707107 4.0 4.0 4.0 5.0 5.0 2.0 7.5 0.707107 7.0 7.0 7.0 8.0 8.0
-3 1.0 6.0 NaN 6.0 6.0 4.0 6.0 6.0 1.0 9.0 NaN 9.0 9.0 9.0 9.0 9.0
+ b c
+ count mean std min 25% 50% 75% max count mean std min 25% 50% 75% max
+a
+1 2.0 4.5 0.707107 4.0 4.0 4.0 5.0 5.0 2.0 7.5 0.707107 7.0 7.0 7.0 8.0 8.0
+3 1.0 6.0 NaN 6.0 6.0 6.0 6.0 6.0 1.0 9.0 NaN 9.0 9.0 9.0 9.0 9.0
/home/travis/build/databricks/koalas/databricks/koalas/groupby.py:203: DocTestFailure |
|
@itholic @HyukjinKwon I believe this is ready. I wasn't able to use |
DataFrameGroupBy.describeDataFrameGroupBy.describe and reimplement describe leveraging _InternalFrame
DataFrameGroupBy.describe and reimplement describe leveraging _InternalFrameDataFrameGroupBy.describe and reimplement leveraging _InternalFrame
Codecov Report
@@ Coverage Diff @@
## master #1202 +/- ##
=======================================
Coverage 95.26% 95.26%
=======================================
Files 35 35
Lines 7154 7154
=======================================
Hits 6815 6815
Misses 339 339
Continue to review full report at Codecov.
|
|
Release is being close. I will just merge. @itholic, do you have some time to add the test and double check the PR? |
|
@HyukjinKwon okay i'll manage this until tomorrow |
Close #1166