Skip to content

Commit 53c8e1d

Browse files
bwagnerBernhard Wagner
and
Bernhard Wagner
authored
removes superfluous indirection in zip-statement (pandas-dev#45457)
Co-authored-by: Bernhard Wagner <[email protected]>
1 parent b8cce91 commit 53c8e1d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/source/user_guide/10min.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -554,10 +554,8 @@ Stack
554554
555555
tuples = list(
556556
zip(
557-
*[
558-
["bar", "bar", "baz", "baz", "foo", "foo", "qux", "qux"],
559-
["one", "two", "one", "two", "one", "two", "one", "two"],
560-
]
557+
["bar", "bar", "baz", "baz", "foo", "foo", "qux", "qux"],
558+
["one", "two", "one", "two", "one", "two", "one", "two"],
561559
)
562560
)
563561
index = pd.MultiIndex.from_tuples(tuples, names=["first", "second"])

0 commit comments

Comments
 (0)