Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: machine learning error (using jupyter)
Post: machine learning error (using jupyter)

i was trying to play around with machine learning and make prediction on this data set using jupyter: https://github.com/dpkravi/DecisionTreeC...r/data.csv but i get errors. i don't know if my codin...
calonia General Coding Help 1 4,137 Jun-26-2019, 04:30 PM
    Thread: removing duplicate numbers from a list
Post: RE: removing duplicate numbers from a list

(Jun-14-2019, 08:41 PM)perfringo Wrote: Printing is 'cheapest' debugging tool. If one adds two print statements everything is quite self-explanatory: >>> numbers = [3, 3, 20, 6, 10, 6, 5, ...
calonia General Coding Help 12 5,244 Jun-14-2019, 09:04 PM
    Thread: removing duplicate numbers from a list
Post: RE: removing duplicate numbers from a list

(Jun-14-2019, 05:13 PM)ThomasL Wrote: Have a read here thank you very much. that was so helpful. i now get it. modifying a list while iterating through it(adding or removing items) leads to skipping...
calonia General Coding Help 12 5,244 Jun-14-2019, 06:50 PM
    Thread: removing duplicate numbers from a list
Post: RE: removing duplicate numbers from a list

(Jun-14-2019, 04:10 PM)ThomasL Wrote: @calonia Modifying a list whilst iterating over it is a very bad idea. The 2nd example from @metulburr is perfect as it keeps the order of the items in the orig...
calonia General Coding Help 12 5,244 Jun-14-2019, 05:03 PM
    Thread: removing duplicate numbers from a list
Post: removing duplicate numbers from a list

hi, there! i am new to python and i was trying to remove duplicate numbers in a list using for loop. but the code doesn't quite work numbers = [3, 3, 20, 6, 10, 6, 5, 5, 7, 10, 7, 19, 19, 20] for x i...
calonia General Coding Help 12 5,244 Jun-14-2019, 03:13 PM

User Panel Messages

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