Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: i tried to install python for the first time today and pretty certain im being remote
Post: RE: i tried to install python for the first time t...

I wouldn't freak out yet. Start by doing a search for "Verified acquired payload: core_JustForMe". I just did and came across some mentions of issues with Windows update that should be fixable. Good l...
chisox721 General Coding Help 2 546 Oct-03-2023, 09:56 AM
    Thread: Merge dicts without override
Post: RE: Merge dicts without override

@DeaD_EyE - I like this approach but there is 1 issue. It works perfect for the alias/vitals dicts (they have identical ID groups) but some individuals do not have combine data (and I would anticipate...
chisox721 General Coding Help 4 3,237 Jul-20-2019, 01:45 AM
    Thread: Merge dicts without override
Post: Merge dicts without override

Just as an FYI I'm still new to working with dicts so the way I have these structured could probably be improved. Basically I have 3 dicts with different information pertaining to individuals containe...
chisox721 General Coding Help 4 3,237 Jul-19-2019, 01:16 AM
    Thread: Two dataframes merged
Post: RE: Two dataframes merged

(Jun-06-2019, 08:52 PM)Ecniv Wrote: Hi I cannot use merged as you require a unique field. I do not have one. I am trying to get the check out for each check in to produce a trip/journey, duration, ...
chisox721 Data Science 10 5,265 Jun-15-2019, 08:58 PM
    Thread: Two dataframes merged
Post: RE: Two dataframes merged

Is your goal to combine the data in the "checkin" and "checkout" frames? If that is the case, first off use the "merge" function - not "concat". Also, when using "merge" you need to specify which colu...
chisox721 Data Science 10 5,265 Jun-06-2019, 07:02 PM
    Thread: Evaluate dataset with logistic regression
Post: RE: Evaluate dataset with logistic regression

That makes sense but for whatever reason I didn't think it was the proper approach based on what I read on similar studies using R. Maybe I need to use a different method/approach? This is a quote fro...
chisox721 Data Science 6 3,603 Jun-06-2019, 03:01 PM
    Thread: Evaluate dataset with logistic regression
Post: RE: Evaluate dataset with logistic regression

I included an excel file that should contain enough of the data but what are your thoughts on this? When I run "predict_a" my expectation is that will return the probability% of the respective x,y val...
chisox721 Data Science 6 3,603 Jun-06-2019, 02:44 PM
    Thread: Evaluate dataset with logistic regression
Post: RE: Evaluate dataset with logistic regression

Full dataset is >100,000 rows but here is a sample person x_value y_value binary_result 0 Larry -0.8308 1.8334 1.0 1 Jason 0.0220 1.5786 1.0 2 Tommy -1.1826 ...
chisox721 Data Science 6 3,603 Jun-06-2019, 02:35 PM
    Thread: Two dataframes merged
Post: RE: Two dataframes merged

At first glance it seems as though you can't get the dataframes to merge because you don't have a line in your script that calls for them to be merged. Read this article and see if it helps you out. h...
chisox721 Data Science 10 5,265 Jun-05-2019, 06:51 PM
    Thread: Evaluate dataset with logistic regression
Post: Evaluate dataset with logistic regression

To start I'll just say that I do a lot of work with Python but I'm venturing into new territory with math/data plotting so bear with me. My dataset includes 4 columns - person, x, y coordinates and a ...
chisox721 Data Science 6 3,603 Jun-05-2019, 06:32 PM
    Thread: Handling pound sign (#) within custom URL
Post: RE: Handling pound sign (#) within custom URL

(Apr-02-2019, 07:54 PM)micseydel Wrote: I'm not asking about your use case, I'm asking why you want to use a hash symbol instead of the escaped sequence for it. The sequence should work just fine. D...
chisox721 General Coding Help 5 6,559 Apr-02-2019, 10:01 PM
    Thread: Handling pound sign (#) within custom URL
Post: RE: Handling pound sign (#) within custom URL

(Apr-02-2019, 06:13 PM)micseydel Wrote: Why do you want to do that? I think it's technically an HTTP violation, if you're seeing the pound in your browser it's because it's changing it behind the sc...
chisox721 General Coding Help 5 6,559 Apr-02-2019, 06:40 PM
    Thread: Help me with python read file and save file
Post: RE: Help me with python read file and save file

I'm not exactly sure what you're trying to do but seems like you'd be best served using Pandas to get the data cleaned up. Could be overkill but that's what I'd do.
chisox721 General Coding Help 9 5,833 Apr-02-2019, 06:23 AM
    Thread: Handling pound sign (#) within custom URL
Post: Handling pound sign (#) within custom URL

I'm using requests to compile a custom URL and one parameter includes a pound sign. Can anyone explain how to pass the parameter without the pound sign changing to "%23"? download URL: www.example.co...
chisox721 General Coding Help 5 6,559 Apr-02-2019, 03:23 AM
    Thread: Add column headers to dataframe
Post: RE: Add column headers to dataframe

(May-16-2018, 06:01 AM)volcano63 Wrote: PS pandas is an amazing tool which I just started learning myself - but you have to understand, DataFrame and Series are objects intended for processing as a ...
chisox721 Data Science 5 8,780 May-17-2018, 05:36 PM
    Thread: Add column headers to dataframe
Post: RE: Add column headers to dataframe

(May-15-2018, 09:59 AM)volcano63 Wrote: Without examples of state/city pairs (as int your file) not much I can do, but you really have to learn to work with DataFrame.apply. This is extremely ineffi...
chisox721 Data Science 5 8,780 May-15-2018, 04:49 PM
    Thread: Add column headers to dataframe
Post: Add column headers to dataframe

Hey guys-I'm working on a script that grabs weather information from different locations. The only thing I'm missing within the dataframe is replacing "0_x" and "0_y" (below) with a reference to the l...
chisox721 Data Science 5 8,780 May-14-2018, 06:13 PM
    Thread: Extract contents from HTML
Post: RE: Extract contents from HTML

(May-10-2018, 06:44 PM)snippsat Wrote: Use a parser eg BeautifulSoup/lxml, Web-Scraping part-1 Example: from bs4 import BeautifulSoup html = '''\ <umpires> <umpire first="Mark" id="42753...
chisox721 Web Scraping & Web Development 2 3,165 May-10-2018, 09:50 PM
    Thread: Extract contents from HTML
Post: Extract contents from HTML

Hey guys-I'm trying to create a dataframe from a portion of a HTML doc and can't figure out how to extract the data. Doesn't seem like it should be that hard but I'm lost. All I'm looking to do is pul...
chisox721 Web Scraping & Web Development 2 3,165 May-10-2018, 05:35 PM
    Thread: Looking for some advice
Post: Looking for some advice

Hi guys-I'm still in the process of learning Python but have made some progress using pandas/soup to scrape information from the web. Let's say I have scripts that get data from the web and create an ...
chisox721 Web Scraping & Web Development 0 1,896 May-03-2018, 05:42 PM

User Panel Messages

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