MCPcopy Create free account
hub / github.com/pydata/xarray / _is_list_of_strings

Function _is_list_of_strings

xarray/backends/netCDF4_.py:332–334  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

330
331
332def _is_list_of_strings(value) -> bool:
333 arr = np.asarray(value)
334 return arr.dtype.kind in ["U", "S"] and arr.size > 1
335
336
337def _build_and_get_enum(

Callers 1

set_attributeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…