Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: np.array question
Post: RE: np.array question

Solved after some research, here is what I got working. adjacent_facies = np.array([[1], [0,3], [1], [0,3], [1], [1], [1], [5], [3]])
hissonrr Data Science 3 2,011 Apr-20-2020, 01:15 PM
    Thread: np.array question
Post: RE: np.array question

(Apr-19-2020, 01:51 PM)buran Wrote: you don't show your code (always do, in python tags) indexes are 0 based, so for array of size 6 max index is 5 Apologies here is the code # define our accuracy ...
hissonrr Data Science 3 2,011 Apr-19-2020, 01:56 PM
    Thread: np.array question
Post: np.array question

Morning all, I am a python beginner and was playing around. I ran into a roadblock when the original np.array was set up to use a 9 varriable array like below... adjacent_facies = np.array([[1], [0...
hissonrr Data Science 3 2,011 Apr-19-2020, 01:49 PM
    Thread: TypeError: list indices must be integers or slices, not float
Post: RE: TypeError: list indices must be integers or sl...

(Apr-18-2020, 11:13 PM)deanhystad Wrote: What is the error and what line is generating the error? What is row? What is training_data? What dos training_data.apply do? What argument does it expect...
hissonrr General Coding Help 2 3,330 Apr-19-2020, 12:02 AM
    Thread: TypeError: list indices must be integers or slices, not float
Post: TypeError: list indices must be integers or slices...

I'm very very new to python, any idea what I am doing wrong here? #Now we label and color our facies # 1=Mudstone_Org_Si 2=Mudstone_Org 3=Mudstone_ORG_Cal # 4=Mudstone_Cal_Si 5=Limestone_Arg_Dol ...
hissonrr General Coding Help 2 3,330 Apr-18-2020, 10:42 PM

User Panel Messages

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