import numpy as np import os import glob from pathlib import Path path = Path(r"d:\CARLA\CARLA_0.9.16\PythonAPI\Fox\Shenron_debug\logs\lidar") files = sorted(list(path.glob('*.npy')))[:5] for f in files: data = np.load(f) print(f"\n[FILE: {f.name} | SHAPE: {data.shape}]") for i in range(data.shape[1]): col = data[:, i] print(f" Col {i}: min={col.min():4.3f} | max={col.max():4.3f} | unique={len(np.unique(col)):5d}")