apache parquet python code example
Example 1: python read parquet
import pyarrow.parquet as pq
df = pq.read_table(source=your_file_path).to_pandas()
Example 2: python read parquet
pd.read_parquet('example_pa.parquet', engine='pyarrow')
import pyarrow.parquet as pq
df = pq.read_table(source=your_file_path).to_pandas()
pd.read_parquet('example_pa.parquet', engine='pyarrow')