Crates.io | pqcat |
lib.rs | pqcat |
version | 0.1.1 |
source | src |
created_at | 2024-05-01 18:33:45.849977 |
updated_at | 2024-05-01 20:13:27.96604 |
description | A simple utility to print parquet file summaries |
homepage | |
repository | |
max_upload_size | |
id | 1226693 |
size | 57,265 |
This is a simple utility to print a summary of the contents of a parquet file.
cargo install pqcat
pqcat <file>
username@hostname some_dir % pqcat accelerometer.parquet
shape: (9_720_794, 4)
┌────────────────────────────┬───────┬───────┬──────┐
│ t ┆ x ┆ y ┆ z │
│ --- ┆ --- ┆ --- ┆ --- │
│ datetime[μs] ┆ i32 ┆ i32 ┆ i32 │
╞════════════════════════════╪═══════╪═══════╪══════╡
│ 2023-06-15 20:35:23.734994 ┆ 1713 ┆ 215 ┆ 5783 │
│ 2023-06-15 20:35:23.735290 ┆ 1713 ┆ 215 ┆ 7763 │
│ 2023-06-15 20:35:23.735586 ┆ 1713 ┆ 215 ┆ 7673 │
│ 2023-06-15 20:35:23.735882 ┆ 1713 ┆ 215 ┆ 7762 │
│ 2023-06-15 20:35:23.736178 ┆ 1713 ┆ 215 ┆ 7673 │
│ … ┆ … ┆ … ┆ … │
│ 2023-06-15 21:23:40.543990 ┆ -1126 ┆ -4599 ┆ 6770 │
│ 2023-06-15 21:23:40.544286 ┆ -1126 ┆ -4599 ┆ 6758 │
│ 2023-06-15 21:23:40.544582 ┆ -1126 ┆ -4599 ┆ 6756 │
│ 2023-06-15 21:23:40.544878 ┆ -1126 ┆ -4599 ┆ 6747 │
│ 2023-06-15 21:23:40.545174 ┆ -1126 ┆ -4599 ┆ 6741 │
└────────────────────────────┴───────┴───────┴──────┘