Return whether the given object is a scalar or string like.
(val)
| 591 | |
| 592 | |
| 593 | def is_scalar_or_string(val): |
| 594 | """Return whether the given object is a scalar or string like.""" |
| 595 | return isinstance(val, str) or not np.iterable(val) |
| 596 | |
| 597 | |
| 598 | def get_sample_data(fname, asfileobj=True): |
no outgoing calls
no test coverage detected
searching dependent graphs…