Compute the length of each string in the array. Returns ------- lengths array : array of int
(self)
| 281 | return _apply_str_ufunc(func=func, obj=pat, dtype=np.object_) |
| 282 | |
| 283 | def len(self) -> T_DataArray: |
| 284 | """ |
| 285 | Compute the length of each string in the array. |
| 286 | |
| 287 | Returns |
| 288 | ------- |
| 289 | lengths array : array of int |
| 290 | """ |
| 291 | return self._apply(func=len, dtype=int) |
| 292 | |
| 293 | def __getitem__( |
| 294 | self, |