Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Need help excluding Named Entity (NE) and proper nouns (NNE) from text analysis
Post: Need help excluding Named Entity (NE) and proper n...

Need help excluding Named Entity (NE) and proper nouns (NNE) from text. import nltk from nltk.tokenize import word_tokenize from nltk.corpus import stopwords import string def clean_article(articleN...
disruptfwd8 General Coding Help 0 2,353 May-15-2018, 12:10 AM
    Thread: Clean Data using NLTK
Post: Clean Data using NLTK

Need help creating a function that cleans data and puts frequency in dictionary. import nltk from nltk.tokenize import word_tokenize from nltk.corpus import stopwords import string #create a functio...
disruptfwd8 General Coding Help 0 3,341 May-12-2018, 11:21 PM
    Thread: map great circle routes
Post: RE: map great circle routes

Thank you nilamo I'm trying to replicate this code and it doesn't seem to work for me. https://public.tableau.com/en-us/s/blog/...ableau-104 Python Code: https://public.tableau.com/s/sites/defau......
disruptfwd8 Data Science 2 3,088 May-08-2018, 07:58 PM
    Thread: map great circle routes
Post: map great circle routes

Need help finding out why I'm getting an error. Here the data from the CSV file: olat,olon,dlat,dlon,route 41.48,-81.8,39.96,-75.2,1 36.09,-115.38,42.38,-71.14,2 34,-84.47,42.38,-71.14,3 40.85,-73.91,...
disruptfwd8 Data Science 2 3,088 May-08-2018, 06:50 PM
    Thread: Find how many times a user played an artist and how many times
Post: Find how many times a user played an artist and ho...

Need help refining this code. artist_data.txt 1134999 Metallica 6821360 Aerosmith 10113088 Mozart 10151459 Queen user_artist_data 1000002 1134999 33 1000002 6821360 8 1000002 10113088 144 1000002 10...
disruptfwd8 Homework 1 2,604 May-04-2018, 12:25 AM
    Thread: Search for Player ID and return games played and number of times
Post: RE: Search for Player ID and return games played a...

Will I used a nested dictionary to map the first list element in [1] position to to the element in [0] position on the second list. player_game_data.txt 0001 9999 65 0001 8521 5 0002 1234 32 0003 344...
disruptfwd8 Homework 3 3,432 May-03-2018, 06:45 PM
    Thread: Search for Player ID and return games played and number of times
Post: RE: Search for Player ID and return games played a...

Is the code below a good starting point on how to open and read each line and save each (key-value pair) to a dictionary? Thank you all! Player_Dic = {} with open('player_game_data.txt', 'r') as f: ...
disruptfwd8 Homework 3 3,432 May-03-2018, 05:33 PM
    Thread: Search for Player ID and return games played and number of times
Post: Search for Player ID and return games played and n...

Hi team, New to python and as a gamer, I would like to analyze player data. This would be easy on excel with Vlookup, but I'm having trouble in python. Here is sample data from two files: player_ga...
disruptfwd8 Homework 3 3,432 May-02-2018, 10:58 PM
    Thread: Print next dataset on list when user hits any key
Post: RE: Print next dataset on list when user hits any ...

(Apr-30-2018, 10:16 PM)Larz60+ Wrote: add an input statement after print with same indentation Thank you Larz60! I need to make sure I read up on the importance of indentation
disruptfwd8 General Coding Help 2 2,589 Apr-30-2018, 10:56 PM
    Thread: Print next dataset on list when user hits any key
Post: Print next dataset on list when user hits any key

I need with this code. After I read the text file, how do I print one record of the data set at a time and moves to the next record on the list when you hit any key? # reading dataset fs = open('data...
disruptfwd8 General Coding Help 2 2,589 Apr-30-2018, 09:54 PM

User Panel Messages

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