You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG: Replace isinstance with issubclass in _ensure_type (pandas-dev#31925)
Commit pandas-dev/pandas@6fd326d in
pull request pandas-dev#30613 added `_ensure_type`, which
utilizes `isinstance`. However, it is reasonable to assume that someone
may want to create a DataFrame subclass. Therefore, `_ensure_type`
should use `issubclass`.
0 commit comments