Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…umpy#21501) Right now, example for ascontiguousarray() only demonstrates that the function is capable to change the dtype, but it doesn't really change the memory layout since x is already C_CONTIGUOUS. In this PR we make this example more relevant and be consistent with the example for asfortranarray(). * DOC: make examples for `ascontiguousarray()` and `asfortranarray()` to be consistent * Add more examples * Get rid of .reshape() * Reduce line length to 79 chars * Change order of examples, remove trailing comments * Use two-space indent * Change `::` to `:`, remove code indentation
- Loading branch information