diff --git a/docs/spec/v1.rst b/docs/spec/v1.rst index d8598c88c4..8584b24e6d 100644 --- a/docs/spec/v1.rst +++ b/docs/spec/v1.rst @@ -144,9 +144,9 @@ are converted to strings and concatenated with the period character ('.') separating each index. For example, given an array with shape (10000, 10000) and chunk shape (1000, 1000) there will be 100 chunks laid out in a 10 by 10 grid. The chunk with indices (0, 0) provides -data for rows 0-1000 and columns 0-1000 and is stored under the key -'0.0'; the chunk with indices (2, 4) provides data for rows 2000-3000 -and columns 4000-5000 and is stored under the key '2.4'; etc. +data for rows 0-999 and columns 0-999 and is stored under the key +'0.0'; the chunk with indices (2, 4) provides data for rows 2000-2999 +and columns 4000-4999 and is stored under the key '2.4'; etc. There is no need for all chunks to be present within an array store. If a chunk is not present then it is considered to be in an diff --git a/docs/spec/v2.rst b/docs/spec/v2.rst index 6d11fd1acc..45e6afb320 100644 --- a/docs/spec/v2.rst +++ b/docs/spec/v2.rst @@ -216,9 +216,9 @@ To form a string key for a chunk, the indices are converted to strings and concatenated with the period character (".") separating each index. For example, given an array with shape (10000, 10000) and chunk shape (1000, 1000) there will be 100 chunks laid out in a 10 by 10 grid. The chunk with indices -(0, 0) provides data for rows 0-1000 and columns 0-1000 and is stored under the -key "0.0"; the chunk with indices (2, 4) provides data for rows 2000-3000 and -columns 4000-5000 and is stored under the key "2.4"; etc. +(0, 0) provides data for rows 0-999 and columns 0-999 and is stored under the +key "0.0"; the chunk with indices (2, 4) provides data for rows 2000-2999 and +columns 4000-4999 and is stored under the key "2.4"; etc. There is no need for all chunks to be present within an array store. If a chunk is not present then it is considered to be in an uninitialized state. An diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 411ce0a163..43e42faf6b 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -525,9 +525,9 @@ When the indexing arrays have different shapes, they are broadcast together. That is, the following two calls are equivalent:: >>> z[1, [1, 3]] - array([5, 7]) + array([6, 8]) >>> z[[1, 1], [1, 3]] - array([5, 7]) + array([6, 8]) Indexing with a mask array ~~~~~~~~~~~~~~~~~~~~~~~~~~