From 7839d3fab1e43ee25e80b9e66895a9f152e95479 Mon Sep 17 00:00:00 2001 From: xiaoruiliu Date: Thu, 19 Sep 2024 22:55:02 -0700 Subject: [PATCH] fix leaking my file path/dep error + add vis_2 changes --- docs/eda/eda.html | 154 +- .../eda_files/figure-pdf/cell-62-output-1.pdf | Bin 0 -> 16678 bytes .../eda_files/figure-pdf/cell-67-output-1.pdf | Bin 0 -> 10990 bytes .../eda_files/figure-pdf/cell-68-output-1.pdf | Bin 0 -> 12641 bytes .../eda_files/figure-pdf/cell-69-output-1.pdf | Bin 0 -> 9237 bytes .../eda_files/figure-pdf/cell-71-output-1.pdf | Bin 0 -> 19835 bytes .../eda_files/figure-pdf/cell-75-output-1.pdf | Bin 0 -> 16811 bytes .../eda_files/figure-pdf/cell-76-output-1.pdf | Bin 0 -> 21542 bytes .../eda_files/figure-pdf/cell-77-output-1.pdf | Bin 0 -> 11854 bytes docs/pandas_1/pandas_1.html | 94 +- docs/pandas_2/pandas_2.html | 142 +- docs/pandas_3/pandas_3.html | 116 +- docs/regex/regex.html | 48 +- docs/search.json | 410 +++++ docs/visualization_1/visualization_1.html | 209 +-- .../figure-html/cell-10-output-1.png | Bin 0 -> 45614 bytes .../figure-html/cell-15-output-1.png | Bin 0 -> 49497 bytes .../figure-html/cell-17-output-1.png | Bin 0 -> 52473 bytes .../figure-html/cell-19-output-2.png | Bin 0 -> 45220 bytes .../figure-html/cell-20-output-2.png | Bin 0 -> 46396 bytes .../figure-html/cell-21-output-1.png | Bin 0 -> 38159 bytes .../figure-html/cell-22-output-1.png | Bin 0 -> 30360 bytes .../figure-html/cell-23-output-1.png | Bin 0 -> 37363 bytes .../figure-pdf/cell-10-output-1.pdf | Bin 0 -> 14751 bytes .../figure-pdf/cell-10-output-2.pdf | Bin 0 -> 14751 bytes .../figure-pdf/cell-11-output-1.pdf | Bin 0 -> 11421 bytes .../figure-pdf/cell-12-output-1.pdf | Bin 0 -> 12962 bytes .../figure-pdf/cell-13-output-1.pdf | Bin 0 -> 15653 bytes .../figure-pdf/cell-14-output-1.pdf | Bin 0 -> 13198 bytes .../figure-pdf/cell-15-output-1.pdf | Bin 0 -> 13903 bytes .../figure-pdf/cell-15-output-2.pdf | Bin 0 -> 13903 bytes .../figure-pdf/cell-17-output-1.pdf | Bin 0 -> 16169 bytes .../figure-pdf/cell-17-output-2.pdf | Bin 0 -> 16169 bytes .../figure-pdf/cell-18-output-2.pdf | Bin 0 -> 11504 bytes .../figure-pdf/cell-19-output-2.pdf | Bin 0 -> 13869 bytes .../figure-pdf/cell-19-output-3.pdf | Bin 0 -> 13869 bytes .../figure-pdf/cell-20-output-2.pdf | Bin 0 -> 14660 bytes .../figure-pdf/cell-20-output-3.pdf | Bin 0 -> 14660 bytes .../figure-pdf/cell-21-output-1.pdf | Bin 0 -> 11648 bytes .../figure-pdf/cell-21-output-2.pdf | Bin 0 -> 11648 bytes .../figure-pdf/cell-22-output-1.pdf | Bin 0 -> 11461 bytes .../figure-pdf/cell-22-output-2.pdf | Bin 0 -> 11461 bytes .../figure-pdf/cell-23-output-1.pdf | Bin 0 -> 12128 bytes .../figure-pdf/cell-23-output-2.pdf | Bin 0 -> 12128 bytes .../figure-pdf/cell-3-output-1.pdf | Bin 0 -> 11274 bytes .../figure-pdf/cell-4-output-1.pdf | Bin 0 -> 11328 bytes .../figure-pdf/cell-5-output-1.pdf | Bin 0 -> 11395 bytes .../figure-pdf/cell-7-output-1.pdf | Bin 0 -> 23251 bytes .../figure-pdf/cell-8-output-1.pdf | Bin 0 -> 11931 bytes .../figure-pdf/cell-9-output-1.pdf | Bin 0 -> 13379 bytes docs/visualization_2/images/gaussian_10.png | Bin 122636 -> 0 bytes docs/visualization_2/images/gaussian_5.png | Bin 0 -> 64127 bytes docs/visualization_2/visualization_2.html | 585 +++---- .../figure-html/cell-10-output-1.png | Bin 23938 -> 39192 bytes .../figure-html/cell-11-output-1.png | Bin 0 -> 23938 bytes .../figure-html/cell-12-output-1.png | Bin 0 -> 37249 bytes .../figure-html/cell-13-output-1.png | Bin 0 -> 59161 bytes .../figure-html/cell-14-output-1.png | Bin 63580 -> 39985 bytes .../figure-html/cell-15-output-1.png | Bin 114982 -> 63580 bytes .../figure-html/cell-16-output-1.png | Bin 60199 -> 114982 bytes .../figure-html/cell-17-output-1.png | Bin 95820 -> 60199 bytes .../figure-html/cell-18-output-1.png | Bin 0 -> 95752 bytes .../figure-html/cell-19-output-1.png | Bin 0 -> 81203 bytes .../figure-html/cell-20-output-1.png | Bin 0 -> 89471 bytes .../figure-html/cell-21-output-1.png | Bin 66383 -> 67072 bytes .../figure-html/cell-22-output-1.png | Bin 70282 -> 66383 bytes .../figure-html/cell-23-output-1.png | Bin 80792 -> 70282 bytes .../figure-html/cell-24-output-1.png | Bin 0 -> 80792 bytes .../figure-html/cell-25-output-2.png | Bin 0 -> 90463 bytes .../figure-html/cell-26-output-1.png | Bin 0 -> 70402 bytes .../figure-html/cell-3-output-1.png | Bin 0 -> 51526 bytes .../figure-html/cell-4-output-1.png | Bin 0 -> 22198 bytes .../figure-html/cell-5-output-1.png | Bin 0 -> 38770 bytes .../figure-html/cell-6-output-1.png | Bin 0 -> 38593 bytes .../figure-html/cell-9-output-1.png | Bin 39085 -> 38756 bytes .../figure-pdf/cell-10-output-1.pdf | Bin 0 -> 10243 bytes .../figure-pdf/cell-11-output-1.pdf | Bin 0 -> 5887 bytes .../figure-pdf/cell-11-output-2.pdf | Bin 0 -> 11925 bytes .../figure-pdf/cell-12-output-1.pdf | Bin 0 -> 11925 bytes .../figure-pdf/cell-12-output-2.pdf | Bin 0 -> 14034 bytes .../figure-pdf/cell-13-output-1.pdf | Bin 0 -> 14034 bytes .../figure-pdf/cell-13-output-2.pdf | Bin 0 -> 13687 bytes .../figure-pdf/cell-14-output-1.pdf | Bin 0 -> 13687 bytes .../figure-pdf/cell-15-output-1.pdf | Bin 0 -> 13905 bytes .../figure-pdf/cell-16-output-1.pdf | Bin 0 -> 17703 bytes .../figure-pdf/cell-17-output-1.pdf | Bin 0 -> 15914 bytes .../figure-pdf/cell-18-output-1.pdf | Bin 0 -> 17719 bytes .../figure-pdf/cell-18-output-2.pdf | Bin 0 -> 15708 bytes .../figure-pdf/cell-19-output-1.pdf | Bin 0 -> 15708 bytes .../figure-pdf/cell-19-output-2.pdf | Bin 0 -> 14904 bytes .../figure-pdf/cell-20-output-1.pdf | Bin 0 -> 14904 bytes .../figure-pdf/cell-20-output-2.pdf | Bin 0 -> 40952 bytes .../figure-pdf/cell-21-output-1.pdf | Bin 0 -> 40952 bytes .../figure-pdf/cell-22-output-1.pdf | Bin 0 -> 13919 bytes .../figure-pdf/cell-23-output-1.pdf | Bin 0 -> 14978 bytes .../figure-pdf/cell-24-output-1.pdf | Bin 0 -> 16210 bytes .../figure-pdf/cell-24-output-2.pdf | Bin 0 -> 16563 bytes .../figure-pdf/cell-25-output-1.pdf | Bin 0 -> 14791 bytes .../figure-pdf/cell-25-output-2.pdf | Bin 0 -> 16563 bytes .../figure-pdf/cell-26-output-1.pdf | Bin 0 -> 14791 bytes .../figure-pdf/cell-3-output-1.pdf | Bin 0 -> 12055 bytes .../figure-pdf/cell-3-output-2.pdf | Bin 0 -> 12055 bytes .../figure-pdf/cell-4-output-1.pdf | Bin 0 -> 9274 bytes .../figure-pdf/cell-4-output-2.pdf | Bin 0 -> 9274 bytes .../figure-pdf/cell-5-output-1.pdf | Bin 0 -> 10043 bytes .../figure-pdf/cell-5-output-2.pdf | Bin 0 -> 10043 bytes .../figure-pdf/cell-6-output-1.pdf | Bin 0 -> 10130 bytes .../figure-pdf/cell-6-output-2.pdf | Bin 0 -> 10130 bytes .../figure-pdf/cell-7-output-1.pdf | Bin 0 -> 12591 bytes .../figure-pdf/cell-8-output-1.pdf | Bin 0 -> 11286 bytes .../figure-pdf/cell-9-output-1.pdf | Bin 0 -> 10244 bytes index.aux | 8 +- index.log | 20 +- index.pdf | Bin 677033 -> 677035 bytes index.tex | 259 +-- visualization_1/visualization_1.ipynb | 1446 +++++++++++++++++ visualization_1/visualization_1.qmd | 4 + visualization_2/images/gaussian_10.png | Bin 122636 -> 0 bytes visualization_2/images/gaussian_5.png | Bin 0 -> 64127 bytes visualization_2/visualization_2.ipynb | 1170 +++++++++++++ visualization_2/visualization_2.qmd | 22 +- 121 files changed, 3767 insertions(+), 920 deletions(-) create mode 100644 docs/eda/eda_files/figure-pdf/cell-62-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-67-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-68-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-69-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-71-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-75-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-76-output-1.pdf create mode 100644 docs/eda/eda_files/figure-pdf/cell-77-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-10-output-1.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-15-output-1.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-17-output-1.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-19-output-2.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-20-output-2.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-21-output-1.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-22-output-1.png create mode 100644 docs/visualization_1/visualization_1_files/figure-html/cell-23-output-1.png create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-10-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-10-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-11-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-12-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-13-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-14-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-15-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-15-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-17-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-17-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-18-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-19-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-19-output-3.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-20-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-20-output-3.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-21-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-21-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-22-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-22-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-23-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-23-output-2.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-3-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-4-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-5-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-7-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-8-output-1.pdf create mode 100644 docs/visualization_1/visualization_1_files/figure-pdf/cell-9-output-1.pdf delete mode 100644 docs/visualization_2/images/gaussian_10.png create mode 100644 docs/visualization_2/images/gaussian_5.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-11-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-12-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-13-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-18-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-19-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-20-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-24-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-25-output-2.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-26-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-3-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-4-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-5-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-html/cell-6-output-1.png create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-10-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-11-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-11-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-12-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-12-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-13-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-13-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-14-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-15-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-16-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-17-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-18-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-18-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-19-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-19-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-20-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-20-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-21-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-22-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-23-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-24-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-24-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-25-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-25-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-26-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-3-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-3-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-4-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-4-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-5-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-5-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-6-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-6-output-2.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-7-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-8-output-1.pdf create mode 100644 docs/visualization_2/visualization_2_files/figure-pdf/cell-9-output-1.pdf create mode 100644 visualization_1/visualization_1.ipynb delete mode 100644 visualization_2/images/gaussian_10.png create mode 100644 visualization_2/images/gaussian_5.png create mode 100644 visualization_2/visualization_2.ipynb diff --git a/docs/eda/eda.html b/docs/eda/eda.html index 776b993e..3cbc95c7 100644 --- a/docs/eda/eda.html +++ b/docs/eda/eda.html @@ -319,7 +319,7 @@

Data Cleaning and EDA

-
+
Code
import numpy as np
@@ -384,7 +384,7 @@ 

5.1.1.1 CSV

CSVs, which stand for Comma-Separated Values, are a common tabular data format. In the past two pandas lectures, we briefly touched on the idea of file format: the way data is encoded in a file for storage. Specifically, our elections and babynames datasets were stored and loaded as CSVs:

-
+
pd.read_csv("data/elections.csv").head(5)
@@ -455,7 +455,7 @@