(x, series_name=None)
| 351 | |
| 352 | |
| 353 | def unique(x, series_name=None): |
| 354 | out = x.unique() |
| 355 | # out can be either an np.ndarray or may already be a series |
| 356 | # like object. When out is an np.ndarray, it must be wrapped. |
| 357 | if not (is_series_like(out) or is_index_like(out)): |
| 358 | out = pd.Series(out, name=series_name) |
| 359 | return out |
| 360 | |
| 361 | |
| 362 | def value_counts_combine(x, sort=True, ascending=False, **groupby_kwargs): |
no test coverage detected
searching dependent graphs…