Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Iterate over data and sum
Post: RE: Iterate over data and sum

I would try using the dictionary Unique = {} for row in data_set: Product_name = row[1] Count = row[2] if Product_name in Unique: Unique = Unique[Product_name] + Count
ClimbAddict Data Science 8 3,669 Oct-13-2019, 10:11 PM
    Thread: Help with understanding the following code
Post: RE: Help with understanding the following code

Thanks for the quick response
ClimbAddict Data Science 3 2,372 Oct-13-2019, 10:14 AM
    Thread: Help with understanding the following code
Post: Help with understanding the following code

Hi everyone, I am doing the Dataquest course and can’t really understand the following code. The following code is supposed to do capitalize every word and replace the gender with the string “Gender ...
ClimbAddict Data Science 3 2,372 Oct-13-2019, 09:55 AM
    Thread: Data cleaning help
Post: Data cleaning help

Hi, I am new to Python and need help with data cleaning. The objective is to scrapped off tables from pdf file. That has been done with the tabula package and I have a CSV file. In the original PDF...
ClimbAddict General Coding Help 1 2,067 Feb-21-2019, 04:33 AM

User Panel Messages

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