Skip to content

Sorting of data in py27 is not working #19

Description

@me2d09

Following code is not working in Python 2.7 (and also data.sort()...)

from Stoner import Data
import numpy as np
data=Data('test2.txt')
np.sort(data.records)

Produces:

AttributeError: 'list' object has no attribute 'dtype'

I think now it is not a problem with datafile. In Python 3 it is working fine.

test2.txt

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions