#!/usr/bin/env python # coding: utf-8 # In[1]: get_ipython().run_line_magic('matplotlib', 'inline') import numpy as np import matplotlib.pyplot as plt # In[2]: A = np.random.randn(100) # In[3]: A # In[4]: A = 10*A + 50 # In[5]: A # In[6]: A.shape # In[7]: A.shape = (5, 20) # In[8]: A # In[9]: A.reshape(100,1) # In[11]: A = A.reshape(100,1) # In[12]: A # In[ ]: # In[ ]: