From b32d5f7789279c459ac40cea4365f116e9928fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 29 Jan 2019 16:48:51 +0100 Subject: [PATCH] Numpy --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b2b55d..f2030bb 100644 --- a/README.md +++ b/README.md @@ -1720,9 +1720,9 @@ import numpy as np #### Basic slicing: ```bash -<1d_view> = <2d_array>[0] # First row. -<1d_view> = <2d_array>[:, 0] # First column. Also [..., 0]. -<3d_view> = <2d_array>[None,:,:] # Expanded by dimension of size 1. +<1d_view> = <2d_array>[0] # First row. +<1d_view> = <2d_array>[:, 0] # First column. Also [..., 0]. +<3d_view> = <2d_array>[None, :, :] # Expanded by dimension of size 1. ``` #### Integer array indexing: