tidypyverse / tidypandas

A grammar of data manipulation for pandas inspired by tidyverse
https://tidypyverse.github.io/tidypandas/
MIT License
93 stars 7 forks source link

bug fix: facilitate scalar check for more generic objects like datetime, sets as well #42

Closed grahitr closed 1 year ago

grahitr commented 1 year ago

37

using the suggestion of np.ndim in place of np.isscalar from https://numpy.org/doc/stable/reference/generated/numpy.isscalar.html

grahitr commented 1 year ago

We have handled this issue more generically in https://github.com/tidypyverse/tidypandas/pull/49