Skip to content

numpy tricks #9

@chengjun

Description

@chengjun
alist= [[1, 3], 
        [2, 4], 
        [6, 9]]

np.array(alist)[:,0]

array([1, 2, 6])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions