diff --git a/README.md b/README.md index 08b7d14..0268bda 100644 --- a/README.md +++ b/README.md @@ -3349,9 +3349,9 @@ plt.show() # Displays the plot. Also plt.sav ```python >>> df = pd.DataFrame([[1, 2, 3], [4, 5, 6], [7, 8, 6]], list('abc'), list('xyz')) >>> df.groupby('z').get_group(6) - x y -b 4 5 -c 7 8 + x y z +b 4 5 6 +c 7 8 6 ``` ```python diff --git a/index.html b/index.html index 8bbd5e7..512b96b 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -2734,9 +2734,9 @@ plt.show() # Disp

GroupBy

Object that groups together rows of a dataframe based on the value of the passed column.

>>> df = pd.DataFrame([[1, 2, 3], [4, 5, 6], [7, 8, 6]], list('abc'), list('xyz'))
 >>> df.groupby('z').get_group(6)
-   x  y
-b  4  5
-c  7  8
+   x  y  z
+b  4  5  6
+c  7  8  6
 
@@ -2923,7 +2923,7 @@ $ pyinstaller script.py --add-data '<path>:.'