Skip to content

Using .pkl extension for joblib pickles is confusing  #694

@lesteve

Description

@lesteve

Coming from scikit-learn/scikit-learn#11230: .pkl is confusing: unless there are no numpy arrays in the joblib.dumped object, the file you write to can not be read with pickle.load.

Maybe using .jbl would be fine, better suggestions welcome!

Looking at git grep -l '\.pkl', we probably want to update at least doc/persistence.rst and examples/compressors_comparison.py. Not sure about other places, we probably don't want to change output.pkl to output.jbl in Memory ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions