I have a simple double bracket numpy array
import numpy as np import pandas as pd ar = np.array([[1,2,3,4]]) I am trying to convert it into a pandas series, but because of double brackets I am getting the below error.
pd.Series(ar) ....
Exception: Data must be 1-dimensional how to achieve this in python