Linear Regression, Data Science, Modeling, Ordinary Least Square, Regression.
for numpy arrays, however, are the inverse. import pandas as pd a, b = [1,2,3], [4,5,6] numpy_arr = np.array([a, b]) pandas_df = pd.DataFrame(dict(a=a, b=b)) numpy_arr.shape # (2,3) pandas_df.shape # (3,2) When working in numpy, it’s often helpful to transpose data to return to a row x column