Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: add formatted column to pandas data frame
Post: add formatted column to pandas data frame

Hi, I have this example: timeList = [ '0:00:00', '0:00:15', '9:30:56' ] totalSecs = 0 for tm in timeList: timeParts = [int(s) for s in tm.split(':')] totalSecs += (timeParts[0] * 60 + timePa...
alkaline3 Data Science 0 1,679 Mar-22-2020, 06:44 PM
    Thread: help with timedelta error, trying to sum
Post: help with timedelta error, trying to sum

There is quite a bit of info around summing up time formats in Python, but I'm not able to solve my use case. I would like to sum up times based on certain criteria in my data frame. My data looks l...
alkaline3 Data Science 0 1,362 Mar-22-2020, 04:25 PM
    Thread: scrape data 1 go to next page scrape data 2 and so on
Post: RE: scrape data 1 go to next page scrape data 2 an...

UPDATE Wanted to post an update to see if there are any suggestions. I'm nearly there with my code, I was able to find something helpful where the 'Next' button is used instead of the individual 'got...
alkaline3 Web Scraping & Web Development 6 5,188 Mar-13-2020, 07:59 PM
    Thread: scrape data 1 go to next page scrape data 2 and so on
Post: RE: scrape data 1 go to next page scrape data 2 an...

Hi everyone, I've rewritten my code using Selenium here: table = driver.find_element_by_id('preblockBody') job_elems = table.find_elements_by_xpath("//*[contains(@class,'pbListingTable')]") for value...
alkaline3 Web Scraping & Web Development 6 5,188 Mar-12-2020, 02:52 PM
    Thread: scrape data 1 go to next page scrape data 2 and so on
Post: RE: scrape data 1 go to next page scrape data 2 an...

Thank you, but I'm not following. I'm pretty new and have everything set up except for the next page functionality. Even if someone can help me get to the next page and then I can rerun the code that ...
alkaline3 Web Scraping & Web Development 6 5,188 Mar-11-2020, 02:40 PM
    Thread: scrape data 1 go to next page scrape data 2 and so on
Post: RE: scrape data 1 go to next page scrape data 2 an...

Ok thank you. I'm new to web scraping, so should I expect to add a few lines of code or is this a rework using selenium?
alkaline3 Web Scraping & Web Development 6 5,188 Mar-10-2020, 02:07 PM
    Thread: scrape data 1 go to next page scrape data 2 and so on
Post: scrape data 1 go to next page scrape data 2 and so...

Hi everyone, I'm fairly new to Python and brand new to web scraping. any help from the forum is greatly appreciated **smile** I have some code here that gets me what I want from page 1 of my websi...
alkaline3 Web Scraping & Web Development 6 5,188 Mar-05-2020, 06:09 PM

User Panel Messages

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