introspection¶ Utilities for working with python type annotations unwrap_optional(typ: type) → type[source]¶ unwrap_annotated(typ: type) → type[source]¶ unwrap(typ: type) → type[source]¶ Unwrap all ‘extra’ type wrappers to get to the actual type is_union(dtype: Any) → bool[source]¶ Check if a dtype is a union is_optional(dtype: Any) → bool[source]¶