---
sidebar:
  hidden: true
title: roboto.domain.topics.parquet
---
Support for topic data stored as Parquet files: reading it, and uploading it for a new topic.

[`get_data()`](/docs/reference/python-sdk/roboto/domain/topics#roboto.domain.topics.Topic.get_data) and [`get_data_as_df()`](/docs/reference/python-sdk/roboto/domain/topics#roboto.domain.topics.Topic.get_data_as_df) read Parquet-backed topics through it, and [`create_from_df()`](/docs/reference/python-sdk/roboto/domain/topics#roboto.domain.topics.Topic.create_from_df) stores a DataFrame as a topic through it, so most code never calls it.

## Submodules

- [roboto.domain.topics.parquet.ingestion](/docs/reference/python-sdk/roboto/domain/topics/parquet/ingestion)
- [roboto.domain.topics.parquet.parquet_topic_reader](/docs/reference/python-sdk/roboto/domain/topics/parquet/parquet_topic_reader)

## Package Contents

- [ParquetParser](/docs/reference/python-sdk/roboto/formats/parquet/parquet_parser#roboto.formats.parquet.parquet_parser.ParquetParser) (class): Reader of a local Parquet file's schema, row groups and timestamp column.

- [ParquetTopicReader](/docs/reference/python-sdk/roboto/domain/topics/parquet/parquet_topic_reader#roboto.domain.topics.parquet.parquet_topic_reader.ParquetTopicReader) (class): Reader of topic data stored in Parquet files.

- [generate_message_path_requests()](/docs/reference/python-sdk/roboto/formats/parquet/arrow_to_roboto#roboto.formats.parquet.arrow_to_roboto.generate_message_path_requests) (function): Yield an [`AddMessagePathRequest`](/docs/reference/python-sdk/roboto/domain/topics/operations#roboto.domain.topics.operations.AddMessagePathRequest) for every field of a Parquet file.

- [make_topic_filename_safe()](/docs/reference/python-sdk/roboto/domain/topics/parquet/ingestion#roboto.domain.topics.parquet.ingestion.make_topic_filename_safe) (function): Return `name` with each character that some operating systems do not allow in a filename replaced.

- [upload_representation_file()](/docs/reference/python-sdk/roboto/domain/topics/parquet/ingestion#roboto.domain.topics.parquet.ingestion.upload_representation_file) (function): Upload a local file to the `.VISUALIZATION_ASSETS` directory of a dataset and return the new file's ID.
