Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Key length (2) exceeds index depth (1)
Post: RE: Key length (2) exceeds index depth (1)

(Mar-13-2019, 01:10 PM)Larz60+ Wrote: did you mean: a = np.random.standard_normal(size=(9,4)) I am still getting the same error when i try df['No2'][3]. Thank for your help
igodspeed Data Science 4 5,229 Mar-13-2019, 03:28 PM
    Thread: Key length (2) exceeds index depth (1)
Post: Key length (2) exceeds index depth (1)

Hello, I am new to python and i am not sure why i am getting this error a = np.random.standard_normal((9, 4)) a.round(6) df = pd.DataFrame(a) df.columns = [['No1', 'No2', 'No3', 'No4']]Easy enough ...
igodspeed Data Science 4 5,229 Mar-13-2019, 10:00 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020