Answers for "can we slice any number on n dimendsion in pyhton?"

2

numpy how to slice individual columns

X = data[:, [1, 9]]
Posted by: Guest on October-11-2020
0

how to get last dimension of an array python

slice = myarray[:,:,i]
Posted by: Guest on April-30-2020

Code answers related to "can we slice any number on n dimendsion in pyhton?"

Python Answers by Framework

Browse Popular Code Answers by Language