Class 14 — Friday, February 15

String and CSV Chrestomathics

CVS Drugstore — Is not to be examined — CSV files yes


Look both ways


Agenda


Download now


Aesthetics


Checkout

<div class="row row-odd row-forecast"><div class="col-sm-2 forecast-label"><b>Today</b></div><div class="col-sm-10 forecast-text">Mostly cloudy, with a high near 67. Southwest wind around 11 mph, with gusts as high as 21 mph. </div> ...

</body> </html>


Examples

Enter name of dataset: best-sellers.csv

header:

['Name', 'Author', 'Language', 'Date', 'Sales']

 

data:

[['Don Quixote', 'de Cervantes', 'Spanish', '1605', '500000000'], ['A Tale of Two Cities', 'Dickens', 'English', '1859', '200000000'], ['The Lord of the Rings', 'Tolkien', 'English', '1954', '150000000'], ['The Little Prince', 'de Saint-Exupery', 'French', '1943', '140000000'], ["Harry Potter and the Philosopher's Stone", 'Rowling', 'English', '1997', '120000000'], ['The Hobbit', 'Tolkien', 'English', '1937', '100000000'], ['And Then There Were None', 'Christie', 'English', '1939', '100000000'], ['Dream of the Red Chamber', 'Xueqin', 'Chinese', '1754', '100000000'], ["Alice's Adventures in Wonderland", 'Carroll', 'English', '1865', '100000000']]


Enter name of dataset: rows_of_stuff.csv

 

['Asta', 'Hachiko', 'Laika', 'Lassie']

['59.0', 'TruE']

['faLse', '3.14', '271']

['01', '10', '10.0', 'ABC']

 

['Asta', 'Hachiko', 'Laika', 'Lassie']

[59.0, True]

[False, 3.14, 271]

[1, 10, 10.0, 'ABC']



To do


Lebanon, KS, 66952, 39°48′38″N 98°33′22″W

geocenter plaque