DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy replicate array
numpy.tile(A, reps) #or if you want to do it along a new axis: np.repeat(A, reps, axis = 0)
PREVIOUS
NEXT
Tagged:
#numpy
#replicate
#array
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit