Skip to content

Loading of numpy types fails #7

@jtbraun

Description

@jtbraun

Attached is a small example.
PyYaml itself is capable of loading/dumping numpy data. When called through serialize, though, RepresenterErrors are thrown.

It's possible that this is a problem with numpy itself, but given that numpy works through the yaml.Loader, I figure it's something to do with serialize.

I used python 3.6.8 to reproduce these.
pyyaml_numpy_failure.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions