Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: json.load() in Python 3
Post: json.load() in Python 3

Hi I'm trying to adapt some code I've found online for use in my own function. I can get the code to run in Python 2 but would really like to get it to work in Python 3. The code that works in Pytho...
jazmad General Coding Help 1 4,536 Dec-31-2018, 09:36 PM
    Thread: Creating matrix counting words in list of strings
Post: RE: Creating matrix counting words in list of stri...

Thank you. Yes, I did mean to return result. To be honest, this was an edit of the actual code for the purposes of this question and I just overlooked changing this. Merry Christmas!
jazmad Data Science 2 3,536 Dec-23-2018, 05:47 PM
    Thread: Creating matrix counting words in list of strings
Post: Creating matrix counting words in list of strings

I have a dataframe (over 1m rows) where one of the columns contains a different sentence in each row. I would like to create a 2-column array where the first column contains every word that appears i...
jazmad Data Science 2 3,536 Dec-23-2018, 08:08 AM
    Thread: Installing pip packages on Windows 10 tablet
Post: RE: Installing pip packages on Windows 10 tablet

Thanks for the suggestions. I was running pip from the scripts folders, although I also tried copying it into the parent folder to see if this fixed it (hence the commands shown previously). I've tri...
jazmad Data Science 5 4,227 Oct-24-2018, 10:37 AM
    Thread: Installing pip packages on Windows 10 tablet
Post: RE: Installing pip packages on Windows 10 tablet

python version is 3.7.0 pip --version does not return any result and I just get a new command line (as when I go to install a new package). I've copied the text from Command Prompt below to illustrate...
jazmad Data Science 5 4,227 Oct-23-2018, 10:06 PM
    Thread: Installing pip packages on Windows 10 tablet
Post: Installing pip packages on Windows 10 tablet

I have Python 3.7 installed on my Windows 10 PC and Windows tablet. On the PC, I am able to install pip packages using command prompt no problem. However, following the same approach on the tablet, th...
jazmad Data Science 5 4,227 Oct-23-2018, 04:52 PM
    Thread: Newbie query regarding lists
Post: RE: Newbie query regarding lists

Thanks again. Want to spend time getting the basics right before moving on (and only installed Python on Thursday!)
jazmad General Coding Help 5 3,512 Oct-13-2018, 07:58 PM
    Thread: Newbie query regarding lists
Post: RE: Newbie query regarding lists

Can I follow up with one additional question? I appreciate how to fix my initial query, but am not sure why the assignment in the original code reuses the object whereas in the code below it appears n...
jazmad General Coding Help 5 3,512 Oct-13-2018, 05:50 PM
    Thread: Newbie query regarding lists
Post: RE: Newbie query regarding lists

Thank you very much
jazmad General Coding Help 5 3,512 Oct-13-2018, 12:28 AM
    Thread: Newbie query regarding lists
Post: Newbie query regarding lists

I am just working through some intros to Python. Basically I read about a concept and then have a play around to make sure I understand it. Right now, I'm on lists. I wrote the following program to t...
jazmad General Coding Help 5 3,512 Oct-12-2018, 06:18 PM

User Panel Messages

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