File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,7 @@ Computation
324
324
DataArray.quantile
325
325
DataArray.differentiate
326
326
DataArray.integrate
327
+ DataArray.str
327
328
328
329
**Aggregation **:
329
330
:py:attr: `~DataArray.all `
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ Enhancements
42
42
helpful for avoiding file-lock errors when trying to write to files opened
43
43
using ``open_dataset() `` or ``open_dataarray() ``. (:issue: `2887 `)
44
44
By `Dan Nowacki <https://github.com/dnowacki-usgs >`_.
45
+ - Add ``.str `` accessor to DataArrays for string related manipulations.
46
+ By `0x0L <https://github.com/0x0L >`_.
45
47
46
48
Bug fixes
47
49
~~~~~~~~~
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ def round(self, freq):
263
263
264
264
265
265
def _is_str_like (x ):
266
- return isinstance (repl , str ) or isinstance (repl , bytes )
266
+ return isinstance (x , str ) or isinstance (x , bytes )
267
267
268
268
269
269
class StringAccessor :
You can’t perform that action at this time.
0 commit comments