Sort and return keys of dict.
(x)
| 738 | |
| 739 | |
| 740 | def _sort_keys(x): |
| 741 | """Sort and return keys of dict.""" |
| 742 | keys = list(x.keys()) # note: not thread-safe |
| 743 | idx = np.argsort([str(k) for k in keys]) |
| 744 | keys = [keys[ii] for ii in idx] |
| 745 | return keys |
| 746 | |
| 747 | |
| 748 | def _array_equal_nan(a, b, allclose=False): |
no outgoing calls
no test coverage detected