I have "scanned" a glob pattern of parquet files
import polars as pl
df = pl.scan_parquet("my/files/*.parquet")
Is there a method to get the number of files included in the scan?
>Solution :
Yes and no.
There’s no way to extract that from your df but you can just do
import pathlib
[x for x in pathlib.Path('my/files/').glob("*.parquet")]