Skip to content

Commit 5e4e9f3

Browse files
committed
no need to transpose 0D vector
1 parent 1cad8bb commit 5e4e9f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2066,7 +2066,7 @@ def __matmul__(self, other):
20662066

20672067
def __rmatmul__(self, other):
20682068
""" Matrix multiplication using binary `@` operator in Python>=3.5 """
2069-
return self.dot(np.transpose(other)).T
2069+
return self.dot(np.transpose(other))
20702070

20712071
@Substitution(klass='Series')
20722072
@Appender(base._shared_docs['searchsorted'])

0 commit comments

Comments
 (0)