add simple script

This commit is contained in:
tsvetkov
2026-02-27 10:16:43 +00:00
commit dde27c8352
2 changed files with 34 additions and 0 deletions

24
README.md Normal file
View File

@@ -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

10
parse_parquet.py Normal file
View File

@@ -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)