pvtend.io.save_pkl

pvtend.io.save_pkl(data: Any, path: str | Path) Path[source]

Save data to a pickle file.

Parameters:
  • data – Arbitrary Python object (must be picklable).

  • path – Output file path (.pkl).

Returns:

Path to the saved file.