Should we set self.values[indexer] = value inplace or do we need to cast? Parameters ---------- value : np.ndarray or ExtensionArray Returns ------- bool
(self, value: ArrayLike)
| 322 | |
| 323 | @final |
| 324 | def should_store(self, value: ArrayLike) -> bool: |
| 325 | """ |
| 326 | Should we set self.values[indexer] = value inplace or do we need to cast? |
| 327 | |
| 328 | Parameters |
| 329 | ---------- |
| 330 | value : np.ndarray or ExtensionArray |
| 331 | |
| 332 | Returns |
| 333 | ------- |
| 334 | bool |
| 335 | """ |
| 336 | return value.dtype == self.dtype |
| 337 | |
| 338 | # --------------------------------------------------------------------- |
| 339 | # Apply/Reduce and Helpers |
no outgoing calls