Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

reshape SAS matrix

proc iml;
x = 1:12;               /** 1 x 12 matrix                  **/
s = shape(x, 4, 3);     /** reshape data into 4 x 3 matrix **/
print s;
Comment

PREVIOUS NEXT
Code Example
Python :: django change foreign key 
Python :: Split a list based on a condition 
Python :: how to address null in python 
Python :: how to make a 2d array in python 
Python :: python if file exists append else create 
Python :: protected class python 
Python :: do while python 
Python :: python variables 
Python :: download video to from pytube with a special name 
Python :: package in python 
Python :: replace all occurrences of a value to nan in pandas 
Python :: for in print pyhton 
Python :: mergesort python 
Python :: pop up window flutter 
Python :: python ON DUPLICATE KEY UPDATE 
Python :: get midnight of current day python 
Python :: insert into string python 
Python :: r vs python 
Python :: create sqlite table in python 
Python :: how to remove text from plot in python 
Python :: how to create a User and User profile in django rest framework 
Python :: how to add a 2d array to one dataframe colum 
Python :: how to print text in python 
Python :: randint 
Python :: check boolean python 
Python :: python - convert a list column into miltiple columns 
Python :: deleting key from dictionary 
Python :: github3 python 
Python :: python program to calculate the average of numbers in a given list 
Python :: lower method in python 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =