ps.profile_from_spec¶
profile_from_spec ¶
profile_from_spec(path: str | Path) -> Profile
Recompute a parquet profile from a previously saved JSON recipe.
This performs fresh scans; input files must still exist and have compatible schemas. This intentionally does not deserialize arbitrary Python objects.
Example¶
import polarstory as ps
p = ps.profile_from_spec('cohort.profile.json')
p.write_html('updated.html')