Skip to content

Commit 8c1dae3

Browse files
committed
test indexing.rst
1 parent 3dfe5f1 commit 8c1dae3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/source/user_guide/indexing.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -712,9 +712,7 @@ as a string.
712712

713713
.. ipython:: python
714714
715-
df2 = pd.DataFrame({'col1': [9, 8, 7, 6],
716-
'weight_column': [0.5, 0.4, 0.1, 0]})
717-
df2.sample(n=2, weights='weight_column')
715+
print("to fix")
718716

719717
``sample`` also allows users to sample columns instead of rows using the ``axis`` argument.
720718

0 commit comments

Comments
 (0)