Skip to content

Commit 588cd1d

Browse files
committed
docs: fix signatures
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent c8ee771 commit 588cd1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/migration-guides/numpy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ limitations under the License.
5252
| Prepend a zero-filled array of the same shape along a specified dimension | `np.concat((np.zeros_like(x), x), axis=dim)` | [`concat([zerosLike(x), x], {dim: dim})`][@stdlib/ndarray/concat] |
5353
| Remove singleton dimensions | `np.squeeze(x)` | [`removeSingletonDimensions(x)`][@stdlib/ndarray/remove-singleton-dimensions] |
5454
| Reverse the elements along a dimension | `np.flip(x, axis=dim)` | [`reverseDimension(x, dim)`][@stdlib/ndarray/reverse-dimension] |
55-
| Rotate an array by 90 degrees in a specified plane | `np.rot90(x, axis=dims)` | [`rot90(x, {dims: dims})`][@stdlib/ndarray/rot90] |
56-
| Rotate an array by 180 degrees in a specified plane | `np.rot90(x, k=2, axis=dims)` | [`rot180(x, {dims: dims})`][@stdlib/ndarray/rot180] |
55+
| Rotate an array by 90 degrees in a specified plane | `np.rot90(x, axes=dims)` | [`rot90(x, {dims: dims})`][@stdlib/ndarray/rot90] |
56+
| Rotate an array by 180 degrees in a specified plane | `np.rot90(x, k=2, axes=dims)` | [`rot180(x, {dims: dims})`][@stdlib/ndarray/rot180] |
5757
| Sort an array in-place | `x[:] = np.sort(x)` | [`sort(x)`][@stdlib/blas/ext/sort] |
5858
| Test whether an array contains at least `n` truthy values | `np.count_nonzero(x) >= n` | [`some(x, n)`][@stdlib/ndarray/some] |
5959
| Test whether an array contains truthy values | `np.any(x)` | [`any(x)`][@stdlib/ndarray/any] |

0 commit comments

Comments
 (0)