Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: AttributeError: 'str' object has no attribute 'size'
Post: RE: AttributeError: 'str' object has no attribute ...

(Nov-15-2020, 03:37 AM)deanhystad Wrote: This is the test: orderPizza()==Pizza('M',{'garlic', 'onion', 'mushroom'})orderPizza returns a string: def orderPizza(): - snip - return f"Your pizz...
russoj5 Homework 4 7,488 Nov-15-2020, 05:06 PM
    Thread: AttributeError: 'str' object has no attribute 'size'
Post: RE: AttributeError: 'str' object has no attribute ...

Thank you for your help! I updated the function to return the pizza and the code works now.
russoj5 Homework 4 7,488 Nov-15-2020, 05:03 PM
    Thread: AttributeError: 'str' object has no attribute 'size'
Post: AttributeError: 'str' object has no attribute 'siz...

Hi All, I'm doing a homework assignment and getting some errors when running the doctest. Everything seems to work fine when I manually enter data, but when I run the doctest, I am getting the same 3...
russoj5 Homework 4 7,488 Nov-14-2020, 11:44 PM
    Thread: saving issue on homework assignment
Post: RE: saving issue on homework assignment

(Oct-24-2020, 09:14 PM)jefsummers Wrote: IDLE _should_ behave better than that. However, if you check around most developers leave IDLE early in learning Python for a better development environment....
russoj5 Homework 2 1,969 Oct-26-2020, 01:53 PM
    Thread: saving issue on homework assignment
Post: saving issue on homework assignment

Hi All, Anyone have any experience with saving a python module on a Mac? I was doing a homework assignment and there were no issues. I saved the file to a location on the Mac for all my homework. I w...
russoj5 Homework 2 1,969 Oct-24-2020, 04:26 PM
    Thread: stats model OLS question/issue
Post: RE: stats model OLS question/issue

(Aug-05-2020, 12:48 AM)scidam Wrote: I suspected that you used - in the column name; See docs, - is meaningful when writing formulae. Remove - from the column name (C-IC_6MU). That worked. Thank you...
russoj5 Data Science 3 5,941 Aug-05-2020, 12:02 PM
    Thread: stats model OLS question/issue
Post: stats model OLS question/issue

Good Afternoon All, I am a newbie with Python and coding and trying to model something. I am importing a CSV file and trying to use the OLS function to run a linear regression model. This is the code...
russoj5 Data Science 3 5,941 Aug-04-2020, 04:56 PM
    Thread: importing a CSV file into Python
Post: importing a CSV file into Python

Good Morning All, So I am a complete newbie here and took a class last semester, which was partially programming in Python, but was completely useless as it didn't require any programming. All the pro...
russoj5 General Coding Help 1 2,968 Jul-30-2020, 12:58 PM

User Panel Messages

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