Skip to content

savetxt doesn't handle recarrays with substructures. (Trac #1744) #2339

Open

Description

@numpy-gitbot

Original ticket http://projects.scipy.org/numpy/ticket/1744 on 2011-02-17 by @fengy-research, assigned to unknown.

test case:

ar = zeros(dtype=[('pos', ('f4', 3)), ('vel', ('f4', 3))], shape=10)

savetxt("ar", ar)

TypeError: float argument required, not numpy.ndarray.

Activity

  1. numpy-gitbot commented on Oct 19, 2012

    @numpy-gitbot
    Author

    Attachment added by @fengy-research on 2011-02-18: savetxt.py

  2. charris commented on Feb 19, 2014

    @charris
    Member

    I'm not sure how savetxt should work in this circumstance. So not sure if this is a defect or an enhancement request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions