Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Why is copying and pasting a block now broken?
Post: RE: Why is copying and pasting a block now broken?

(May-04-2022, 11:42 PM)Larz60+ Wrote: WagmoreBarkless Wrote:Either I have somehow offended the gods (I'm sorry - honest!) or I have bumped a switch that I can't find.I think you have, I can cut and ...
WagmoreBarkless General Coding Help 2 1,394 May-05-2022, 05:01 AM
    Thread: Why is copying and pasting a block now broken?
Post: Why is copying and pasting a block now broken?

This is trivial, but... **wall** Henceforth, if I had a block of code: code line 1 code line 2 code line 3 code line 4And I wanted to copy the 2nd and 3rd line to another block, I would just sele...
WagmoreBarkless General Coding Help 2 1,394 May-04-2022, 11:36 PM
    Thread: Why is copying and pasting a block now broken?
Post: Why is copying and pasting a block now broken?

This is trivial, but... **wall** Henceforth, if I had a block of code: code line 1 code line 2 code line 3 code line 4And I wanted to copy the 2nd and 3rd line to another block, I would just sele...
WagmoreBarkless General Coding Help 1 1,231 May-04-2022, 11:36 PM
    Thread: Why am I getting a type error?
Post: RE: Why am I getting a type error?

I found the big problem, which of course just raised more questions. I am working with PyCharm, using a class that I coded into a Python file and calling it from a console window that I opened withi...
WagmoreBarkless Data Science 7 7,541 Jan-19-2017, 06:47 AM
    Thread: Why am I getting a type error?
Post: RE: Why am I getting a type error?

(Jan-19-2017, 02:56 AM)Mekire Wrote: (Jan-19-2017, 02:49 AM)WagmoreBarkless Wrote: This works now. You are a genius. You fixed Python. All Python users are grateful.Um... okay. Honestly can't tell...
WagmoreBarkless Data Science 7 7,541 Jan-19-2017, 05:09 AM
    Thread: Why am I getting a type error?
Post: RE: Why am I getting a type error?

I knew it! Python is broken! But you fixed it… import  pandas as pd import  numpy as np df=pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data', header = None) df....
WagmoreBarkless Data Science 7 7,541 Jan-19-2017, 02:49 AM
    Thread: Why am I getting a type error?
Post: Why am I getting a type error?

This should be simple. I am using NumPy's ndarray, and taking the shape() of the 1st element like this:X.shape[0]. As expected, this is an integer that evaluates to 100. When I try to add that to in...
WagmoreBarkless Data Science 7 7,541 Jan-19-2017, 02:01 AM

User Panel Messages

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