FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add numpy example for assigning to a slice · Issue #1209 · rust-ndarray/ndarray · GitHub

Add numpy example for assigning to a slice #1209

Description

To assign values to a slice of a numpy array it's possible to do e.g.:

import numpy as np
a = np.zeros((2, 2))
a[:, 0] = 1

It would be good to add how to do this in ndarray to the ndarray for numpy users docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsIssues relating primarily to documentation or API visibility.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL