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
DataFrame.from_sequence introduces a dtype= keyword, and specifies it's a string without going into details. This is a potentially tricky topic. There's a number of ways this could go:
Indeed use strings, e.g. dtype='float64'
Use canonical names like in the array API, e.g. dtype=float64
Use the same as done in the interchange protocol, e.g. Dtype = Tuple[DtypeKind, int, str, str]
My first instinct would be to use canonical names rather than strings, but it depends a bit on how often we'll use dtypes I think.