Closed deanm0000 closed 4 weeks ago
Is there a way to do
if isinstance(array, pa.DictionaryType) and array.type.value_type:
Right now it's got to be
if isinstance(array.type, pa.DictionaryType) and cast(pa.DictionaryType, array.type).value_type
You can use TypeGuard
TypeGuard
Is there a way to do
Right now it's got to be