Skip to content

Workbench

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback

163 results found

  1. inelegant sample code

    In box [13] you define a Rating variable that you don't need. A simpler solution is

    PlayListRatings = [10, 9.5, 10, 8, 7.5, 5, 10, 10]
    i = 0
    while PlayListRatings[i] >= 6:
    print(PlayListRatings[i])
    i = i + 1
    if(i > 1000):
    break

    Note this example includes a safety mechanism that avoids infinite looping. I would never teach the while loop without warning students about the dangers of infinite looping. . . .

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Vague question about range function

    The question says, 'Write a for loop the prints out all the element between -5 and 5 using the range function.' You should specify whether the between includes or excludes the lower and upper bounds. English does not have separate words for each of the four possible cases, so using one word for all four cases creates ambiguity that leads to four possible correct answers.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  3. correct the description of the range() function and type

    The instruction refers to the "range object." Why not just say (more precisely) that the range type amounts to an (ordered) sequence of integers, and the range() function generates such sequences? This is computer programming. We can be fully exact from the git go. We don't have to gloss or approximate these little truths for the sake of simplification or summarization.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  4. correct example for if statement with compound condition

    The question asks to print the year the album came out. The sample code prints 'This album came out already'. You should make them consistent.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  5. correct information about how string comparison works

    Your instructional text says string comparison is according to ASCII collation order. The Python 3 documentation says, "Strings (instances of str) compare lexicographically using the numerical Unicode code points (the result of the built-in function ord()) of their characters." So your statement is only true for ASCII characters. Why not tell the whole truth?

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  6. avoid using reserved words as variable names

    The sample code creates the variable 'intersection' as a token representing the result of an intersection operation. Inasmuch as the same term is the name of a method defined by the language, it's bad form to use the reserved term as a variable name. I suggest you change it to e.g. 'my_intersection'.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  7. Add instruction for index() function before the quiz on tuples asks the learner to demonstrate its use.

    Add instruction for index() function before the quiz on tuples asks the learner to demonstrate its use.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  8. server connections failed in jupyterlab

    server connections failed in jupyterlab

    24 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  9. Cell Text cut-off bug (Dark Reader Extension)

    Jupyter has a bug that causes the cell editor code to be cutoff at the bottom when you switch on and off the Dark Reader extension in Chrome.

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  10. add zlib1g-dev

    hi please add a thing to install dependencies like
    zlib1g-dev
    with
    apt-get install zlib1g-dev command

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  11. Code mistake in jupyter notebook

    In the juypter notebook for polynomial regression, r2_score() is used incorrectly - true and predicted values are interchanged. Therefore, the values differ from the results provided by .score() from LinearRegression()

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  12. l cant use lab please make it proper

    The Jupyter lab is not working and is feeling difficult to learn without it

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  13. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  14. Mistake in image

    Hello,

    The image below has a slight mistake. Negative index [-2] should be 10.1

    <img src="https://s3-api.us-geo.objectstorage.softlayer.net/cf-courses-data/CognitiveClass/PY0101EN/Chapter%202/Images/ListsNeg.png" width="1000" />

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  15. There is a slight mistake in the "lab-condition branching" code.

    hi
    just to let you know that there is mistake in the "Lab-Conditions and Branches.
    the variable is an integer type and the one given in the condition statement is of string type.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  16. Error on problem 5 description

    Hi, there is an error in the description of problem 5 of the DB0201EN-Week4-2-2-PeerAssign-v5-py file related to Coursera IBM Course, it's says CENUSDATA, and must say CENSUSDATA.

    That's all!

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  17. SVM lab

    there is a problem with a library in the SVM lab

    Just to change:

    from sklearn.crossvalidation import traintestsplit
    with:
    from sklearn.model
    selection import traintestsplit

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  18. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  19. there is an error in the answer sheet for Q1d, (Module 4: Model Development), Data Analysis with Python

    Data Analysis with Python
    Module 4: Model Development

    Question 1d: the solution shown is for mpg-mileage, but not for engine-size.

    Thx.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  20. Specify why you import each library

    It is not clear which library to import for each case. Could you add a note saying: "we import Pandas for xyz reason"... "we import scikitlearn for xyz reason" and so on. Otherwise, I just have to learn blindly.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Jupyter - Python  ·  Admin →
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  • Don't see your idea?

Feedback and Knowledge Base