Skip to content

Commit a862060

Browse files
authored
DOC: Remove repeated column assignment in visualization doc (#39770)
1 parent 1779155 commit a862060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/user_guide/visualization.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ given by column ``z``. The bins are aggregated with NumPy's ``max`` function.
665665
.. ipython:: python
666666
667667
df = pd.DataFrame(np.random.randn(1000, 2), columns=["a", "b"])
668-
df["b"] = df["b"] = df["b"] + np.arange(1000)
668+
df["b"] = df["b"] + np.arange(1000)
669669
df["z"] = np.random.uniform(0, 3, 1000)
670670
671671
@savefig hexbin_plot_agg.png

0 commit comments

Comments
 (0)