-
- Active Topics
-
-
- by Eli 10 hours ago Re: What is in Your Mind? View the latest post Replies 695 Views 286508
- by Eli 10 hours ago Russia Invades Ukraine View the latest post Replies 655 Views 222280
- by Eli 1 day ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 34 Views 55434
- by Eli 2 days ago Pondering Big Cosmology Questions Through Lectures and Dialogues View the latest post Replies 34 Views 56989
- by Eli 3 days ago Programmatically Manipulate Files: Renaming, Reading, Writing, Deleting, and Moving Files Between Folders View the latest post Replies 7 Views 4529
- by Eli 1 week ago Iran Launches Retaliatory Attack Against Israel, and Israel Retaliates by Attacking Iranian Isfahan Millitary Base View the latest post Replies 28 Views 4072
- by Eli 1 week ago All in One: YouTube, TED, X, Facebook and Instagram Reels, Videos, Images and Text Posts View the latest post Replies 319 Views 21436
- by Eli 1 week ago Python Packages for Scientific Computing View the latest post Replies 8 Views 11271
- by Eli 1 week ago Dunia Yetu: Building Tanzania's Digital Future Together View the latest post Replies 5 Views 2044
- by Eli 3 weeks ago What is Retrieval-Augmented Generation (RAG)? View the latest post Replies 2 Views 3245
-
Search found 1 match
- 7 years ago
- Jump to forum
- Jump to topic
Slicing Arrays in Python
The standard rules of Python slicing apply to arrays. Basic slicing for example on lists, extends Python’s basic concept of slicing to N dimensions. Here are a number of Python array slicing examples. import numpy as np #Create a 10x10 array: a = np.arange(100).reshape(10, 10) In [1]: a Out[1]: arra...