From dde27c83527af786d6b98c26693ebae7d4243e97 Mon Sep 17 00:00:00 2001 From: tsvetkov Date: Fri, 27 Feb 2026 10:16:43 +0000 Subject: [PATCH] add simple script --- README.md | 24 ++++++++++++++++++++++++ parse_parquet.py | 10 ++++++++++ 2 files changed, 34 insertions(+) create mode 100644 README.md create mode 100644 parse_parquet.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3f329b --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +### How to use + +0. Install dependencies +``` +pip install pandas +``` + +1. Fet the full path of the parquet file you want to parse. +``` +C:\somedir\file.parquet # On Windows +/somedir/file.parquet # On Mac/Linux +``` + +2. Edit the parse_parquet.py with the full path of your parquet file taken from 1. + +3. Run the script: +``` +python3 parse_parquet.py +``` + +### TBD.. + +- Make the script prompt for the path when executed rather than having it hardcoded +- Potentially add a GUI so users can run it as an app diff --git a/parse_parquet.py b/parse_parquet.py new file mode 100644 index 0000000..8af7e58 --- /dev/null +++ b/parse_parquet.py @@ -0,0 +1,10 @@ +import pandas as pd +pd.set_option('display.max_rows', None) +pd.set_option('display.max_columns', None) +pd.set_option('display.width', None) +pd.set_option('display.max_colwidth', None) + +parquet_file=input('Enter the absolute path for your parquet file') + +df=pd.read_parquet(parquet_file) +print(df)