We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ,Date,Country/Region,Confirmed,Deaths,Recovered,Active,New cases,New deaths,New recovered | |
| 0,2020-01-22,Afghanistan,0,0,0,0,0,0,0 | |
| 1,2020-01-22,Albania,0,0,0,0,0,0,0 | |
| 2,2020-01-22,Algeria,0,0,0,0,0,0,0 | |
| 3,2020-01-22,Andorra,0,0,0,0,0,0,0 | |
| 4,2020-01-22,Angola,0,0,0,0,0,0,0 | |
| 5,2020-01-22,Antigua and Barbuda,0,0,0,0,0,0,0 | |
| 6,2020-01-22,Argentina,0,0,0,0,0,0,0 | |
| 7,2020-01-22,Armenia,0,0,0,0,0,0,0 | |
| 8,2020-01-22,Australia,0,0,0,0,0,0,0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| import altair as alt | |
| # Load data | |
| full_clean_data = pd.read_csv('covid_19_clean_complete.csv', parse_dates=['Date']) | |
| # Select a list of countries | |
| countries = ['US', 'Italy', 'China', 'Spain', 'France', 'Iran', 'United Kingdom', 'Switzerland'] | |
| selected_data = full_clean_data[full_clean_data['Country/Region'].isin(countries)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ⇒ cd /Users/admin/Library/Jupyter/kernels/nlp | |
| admin@MAC:~/Library/Jupyter/kernels/nlp| | |
| ⇒ ls | |
| kernel.json logo-32x32.png logo-64x64.png | |
| admin@MAC:~/Library/Jupyter/kernels/nlp| | |
| ⇒ cat kernel.json | |
| { | |
| "argv": [ | |
| "/Users/admin/Code/WorkSpace/python-venv/npl/bin/python", | |
| "-m", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import altair as alt | |
| from vega_datasets import data | |
| cars = data.cars() | |
| brush = alt.selection_interval() | |
| points = alt.Chart(cars).mark_point().encode( | |
| x='Horsepower:Q', | |
| y='Miles_per_Gallon:Q', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import face_recognition | |
| # Number of known persons | |
| n = 2 | |
| # Create a list of all known face encodings | |
| known_face_encodings = [] | |
| for num in range(1, n + 1): | |
| image_file = f"known_person_{num}.jpg" | |
| # Load each known image |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ⇒ npm start | |
| > [email protected] start /Users/admin/Code/WorkSpace/react-app-es6-jest | |
| > concurrently "npm run start:server" "npm run start:client" | |
| [0] | |
| [0] > [email protected] start:server /Users/admin/Code/WorkSpace/react-app-es6-jest | |
| [0] > nodemon src/server/index.js --watch src/server -e js --exec babel-node | |
| [0] | |
| [0] [nodemon] 2.0.1 | |
| [0] [nodemon] to restart at any time, enter `rs` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ⇒ cd /Users/admin/Library/Jupyter/kernels/d2l | |
| admin@MAC-156893:~/Library/Jupyter/kernels/d2l| | |
| ⇒ ls | |
| kernel.json logo-32x32.png logo-64x64.png | |
| admin@MAC-156893:~/Library/Jupyter/kernels/d2l| | |
| ⇒ cat kernel.json | |
| { | |
| "argv": [ | |
| "/Users/admin/anaconda3/envs/d2l/bin/python", | |
| "-m", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Pure CSS Styled Select</title> | |
| <style> | |
| body { | |
| background-color: #e74c3c; | |
| font-family: 'Source Sans Pro', sans-serif; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>How does CSS triangle work?</title> | |
| <style> | |
| .box_1 { | |
| width: 50px; |
NewerOlder