Create function to convert to parquet
Analogously with `delete_from_hub`, this PR:
- creates the Python function `convert_to_parquet`
- makes the corresponding CLI command use that function.

This way, the functionality can be used both from a terminal and from a Python console.

This PR also implements a test for convert_to_parquet function.