We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5816381 commit 2ef50aeCopy full SHA for 2ef50ae
pandas/core/arrays/categorical.py
@@ -2691,4 +2691,4 @@ def _factorize_from_iterables(iterables):
2691
if len(iterables) == 0:
2692
# For consistency, it should return a list of 2 lists.
2693
return [[], []]
2694
- return map(list, zip(*[_factorize_from_iterable(it) for it in iterables]))
+ return map(list, zip(*(_factorize_from_iterable(it) for it in iterables)))
0 commit comments