@@ -167,11 +167,11 @@ your ``MyExtensionArray`` class, as follows: |
|
|
167 |
167 |
element one-by-one, this might not be as performant as implementing your own |
168 |
168 |
version of the associated operators directly on the ``ExtensionArray``. |
169 |
169 |
|
170 |
|
-This implementation will try to reconstruct a new ``ExtensionArray`` with the |
171 |
|
-result of the element-wise operation. Whether or not that succeeds depends on |
172 |
|
-whether the operation returns a result that's valid for the ``ExtensionArray``. |
173 |
|
-If an ``ExtensionArray`` cannot be reconstructed, a list containing the scalars |
174 |
|
-returned instead. |
|
170 |
+For arithmetic operations, this implementation will try to reconstruct a new |
|
171 |
+``ExtensionArray`` with the result of the element-wise operation. Whether |
|
172 |
+or not that succeeds depends on whether the operation returns a result |
|
173 |
+that's valid for the ``ExtensionArray``. If an ``ExtensionArray`` cannot |
|
174 |
+be reconstructed, an ndarray containing the scalars returned instead. |
175 |
175 |
|
176 |
176 |
.. _extending.extension.testing: |
177 |
177 |
|