Coder Social home page Coder Social logo

dsc-data-viz-cumulative-lab's People

Contributors

bpurdy-ds avatar cheffrey2000 avatar fpolchow avatar hoffm386 avatar jirvingphd avatar loredirick avatar mas16 avatar mathymitchell avatar peterbell avatar tkoar avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dsc-data-viz-cumulative-lab's Issues

Mark as done

Should I be able to mark this lab completed or is it tied to the post test?

Data Visualization - Cumulative Lab

Link to Canvas

https://w-lekse-ds-course-prep-f7b9883982bf4acaa27afecfbcad1480.flatironschool.saturnenterprise.io/notebooks/workspace/flatiron-curriculum/Prep/dsc-data-viz-cumulative-lab/index.ipynb

Issue Subtype

  • Master branch code
  • Solution branch code
  • Code tests
  • Layout/rendering issue
  • Instructions unclear
  • Other (explain below)

Incorrect indexing for the full text: in assignment comments, it is stated that the play begins with the 16648th character, but it starts from character 4863. Another issue with this assignment is that in addition to stripping the punctuation, you'll need to strip the text formatting characters \t \n \r. Both issues affect the remaining lab tasks (word count, and unique word count).

Source

# Run this cell without changes
response = requests.get('https://www.gutenberg.org/cache/epub/2264/pg2264.txt')
full_text = response.text

# The beginning describes the source/copyright, it isn't the actual text
# of the play until the 16648th character
macbeth = full_text[4863:]

# Print string summary
print("Data type:", type(macbeth))
print()
print("Number of characters:", len(macbeth))
print()
print("First 500 characters:")
print(macbeth[:500])

Concern

The assignment has incorrect numbers and is missing a set of key instructions affecting the end results.

(Optional) Proposed Solution

Update the starting character index. Mention text formatting character stripping. Update the frequency table count number.

What OS Are You Using?

  • [x ] OS X
  • Windows
  • WSL
  • Linux
  • Saturn Cloud from Canvas

Any Additional Context?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.