Skip to content

Commit

Permalink
Merge pull request #684 from WHQWHQWHQ/ReviewIpynbFiles
Browse files Browse the repository at this point in the history
improve Book
  • Loading branch information
reveurmichael authored Dec 22, 2023
2 parents ca434b4 + 4f4e3f1 commit 9eeaea5
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
"metadata": {},
"outputs": [],
"source": [
"df = pd.read_csv(\"FILE_PATH_TO_metadata.csv\")\n",
"df = pd.read_csv(\n",
" \"https://static-1300131294.cos.ap-shanghai.myqcloud.com/data/data-science/metadata.csv\"\n",
")\n",
"df.head()"
]
},
Expand Down Expand Up @@ -402,7 +404,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.7.16"
},
"vscode": {
"interpreter": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"import pandas as pd\n",
"import glob\n",
"\n",
"#Loading the dataset\n",
"path = '../../data/emails.csv'\n",
"# Loading the dataset\n",
"path = \"https://static-1300131294.cos.ap-shanghai.myqcloud.com/data/data-science/emails.csv\"\n",
"email_df = pd.read_csv(path)"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"id": "304ad719"
},
"source": [
"<a name='0'></a>\n",
"# Intro to TensorFlow for Deep Learning"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"id": "304ad719"
},
"source": [
"<a name='0'></a>\n",
"# Intro to TensorFlow for Deep Learning"
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"\n",
"# Load data\n",
"mnistDf_backup = pd.read_csv(\n",
" \"https://download.mlcc.google.com/mledu-datasets/mnist_train_small.csv\",\n",
" \"https://static-1300131294.cos.ap-shanghai.myqcloud.com/data/mnist_train_small.csv\",\n",
" sep=\",\",\n",
" header=None)\n",
"# Shuffle data\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"pd.options.display.float_format = '{:.1f}'.format\n",
"\n",
"wineDf = pd.read_csv(\n",
" \"https://download.mlcc.google.com/mledu-datasets/winequality.csv\",\n",
" \"https://static-1300131294.cos.ap-shanghai.myqcloud.com/data/winequality.csv\",\n",
" encoding='latin-1')\n",
"wineDf.columns = ['fixed acidity','volatile acidity','citric acid',\n",
" 'residual sugar','chlorides','free sulfur dioxide',\n",
Expand Down
Binary file not shown.

1 comment on commit 9eeaea5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.