in42 opened a new issue, #42203:
URL: https://github.com/apache/arrow/issues/42203
### Describe the usage question you have. Please include as many useful
details as possible.
I have a parquet file which I am reading with pyarrow.
```
In [83]: pq.read_schema('dummy_file.parquet').field('dummy_column').type
Out[83]: DictionaryType(dictionary<values=string, indices=int32, ordered=0>)
```
It says it is a column of dictionary type which is similar to a sql enum or
pandas category type. Now I want to find the values present in the dictionary
type, how do I do that?
It says in
[here](https://arrow.apache.org/docs/python/generated/pyarrow.DictionaryType.html#pyarrow.DictionaryType.value_type)
that:
The dictionary values are found in an instance of DictionaryArray.
But how do I get this `DictionaryArray`?
### Component(s)
Parquet, Python
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]