Skip to content

Commit 5e26ef7

Browse files
format issues fixed
1 parent cc3c5cf commit 5e26ef7

File tree

1 file changed

+1
-1
lines changed
  • content/numpy/concepts/ndarray/terms/flat

1 file changed

+1
-1
lines changed

content/numpy/concepts/ndarray/terms/flat/flat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CatalogContent:
1313
- 'paths/data-science'
1414
---
1515

16-
The **`.flat`** attribute returns a 1-D [iterator](https://www.codecademy.com/resources/docs/python/iterators) over all elements of a multi-dimensional array, allowing access to each element as if the array were a single flat list. This is useful for loops where the dimensionality or shape of the array is irrelevant and every element needs to be processed in linear order. Iteration follows standard C-style (row-major) ordering.
16+
The **`flat`** attribute returns a 1-D [iterator](https://www.codecademy.com/resources/docs/python/iterators) over all elements of a multi-dimensional array, allowing access to each element as if the array were a single flat list. This is useful for loops where the dimensionality or shape of the array is irrelevant and every element needs to be processed in linear order. Iteration follows standard C-style (row-major) ordering.
1717

1818
## Syntax
1919

0 commit comments

Comments
 (0)