Open
Description
is_array_like is a a one-liner return is_list_like(obj) and hasattr(obj, "dtype")
. It does not recognize pyarrow objects. Often we use it when we really want something like isinstance(obj, (np.ndarray, Series, Index, ExtensionArray))
, which is much more typing-friendly. We should replace its usage with these more specific checks and deprecate it.
Discussed briefly in a dev meeting a couple months ago with generally positive reception.