question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docs for array creation routines: section "ones and zeros" should be renamed

See original GitHub issue

The “ones and zeros” sections contains also entries for full and full_like, which logically belong to that section but are not for “ones and zeros” 😃 I don’t have a good suggestion, though.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
melissawmcommented, Oct 20, 2020

There doesn’t seem to be a name for these. However, Arrays filled with a single value doesn’t go with empty, empty_like or identity to me. Since the next section is “From existing data”, I’d suggest something like “From shape or value” but that may be too vague.

0reactions
rossbarcommented, Oct 20, 2020

@anntzer is right, the problem is in the heading in array creation routines in the reference guide. Relevant source file: doc/source/reference/routines.array-creation.rst

Read more comments on GitHub >

github_iconTop Results From Across the Web

Array creation routines — NumPy v1.24 Manual
Return an array of ones with the same shape and type as a given array. zeros (shape[, dtype, order, like]). Return a new...
Read more >
First introduction to NumPy — SciPyTutorial 0.0.4 documentation
We will give a very short introduction to NumPy now. The main python object is a N-dimensional array data structure. In the following...
Read more >
Array creation — NumPy v1.10 Manual
ones (shape) will create an array filled with 1 values. It is identical to zeros in all other respects. arange() will create arrays...
Read more >
Tutorial — zarr 2.11.3 documentation
Zarr provides classes and functions for working with N-dimensional arrays that behave like NumPy arrays but whose data is divided into chunks and...
Read more >
ndarray::doc::ndarray_for_numpy_users - Rust - Docs.rs
Array creation ; Indexing and slicing; Shape and strides; Mathematics ... (e.g. mean ) but more advanced routines can be found in ndarray-stats...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found