typedframe
typedframe copied to clipboard
Official support for StringDType
This works just fine and gives dtype 'string':
import pandas as pd
sdtype = pd.StringDType()
class A(TypedFrame):
schema = { 'field': sdtype }
Maybe worth adding to the docs.
https://pandas.pydata.org/docs/reference/api/pandas.StringDtype.html