initialising a pandas dataframe with columns defined by a list

their is issue in the indicns_list if below code does fine. try this

con_meds3 = pd.DataFrame(np.nan, index=range(0,1613),columns=[i for i in range(1613)])

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top