diff --git a/README.md b/README.md index f9df092..c03f883 100644 --- a/README.md +++ b/README.md @@ -2667,7 +2667,7 @@ import numpy as np ```python = np.concatenate(, axis=0) # Links arrays along first axis (rows). = np.row_stack/column_stack() # Treats 1d arrays as rows or columns. - = np.tile/repeat(, ) # Tiles array or repeats its elements. + = np.tile/repeat(, [, axis]) # Tiles array or repeats its elements. ``` * **Shape is a tuple of dimension sizes. A 100x50 RGB image has shape (50, 100, 3).** * **Axis is an index of the dimension that gets aggregated. Leftmost dimension has index 0. Summing the RGB image along axis 2 will return a greyscale image with shape (50, 100).** diff --git a/index.html b/index.html index b04b421..9ff258c 100644 --- a/index.html +++ b/index.html @@ -54,7 +54,7 @@
- +
@@ -2176,7 +2176,7 @@ $ snakeviz test.prof
<array> = np.concatenate(<list_of_arrays>, axis=0)      # Links arrays along first axis (rows).
 <array> = np.row_stack/column_stack(<list_of_arrays>)   # Treats 1d arrays as rows or columns.
-<array> = np.tile/repeat(<array>, <int/list>)           # Tiles array or repeats its elements.
+<array> = np.tile/repeat(<array>, <int/list> [, axis])  # Tiles array or repeats its elements.
 
  • Shape is a tuple of dimension sizes. A 100x50 RGB image has shape (50, 100, 3).
  • @@ -2926,7 +2926,7 @@ $ deactivate # Deactivates the activ