Skip to content

Commit f23bfc0

Browse files
committed
Dataset github path updated
1 parent aefde57 commit f23bfc0

13 files changed

+26
-40
lines changed

Chapter01/Activities/Activity - 01 - Pre-Processing-using-Protugese-Bank-Market-Subscription-Dataset.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 15,
12+
"execution_count": 2,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
1616
"import pandas as pd \n",
1717
"import numpy as np\n",
1818
"#reading the data into the dataframe into the object data\n",
19-
"df = pd.read_csv(\"../Data/Marketing_subscription_prediction_latest_edited data.csv\", header=0)\n"
19+
"df = pd.read_csv(\"https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/Marketing_subscription_prediction_latest_edited%20data.csv\", header=0)"
2020
]
2121
},
2222
{
23-
"attachments": {},
2423
"cell_type": "markdown",
2524
"metadata": {},
2625
"source": [

Chapter01/Excercises/Excercise_01_creating_features_matrix_target_matrix.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"source": [
1616
"import pandas as pd \n",
1717
"#reading the data into the dataframe into the object data\n",
18-
"df = pd.read_csv(\"../Data/USA_Housing.csv\", header=0)"
18+
"df = pd.read_csv(\"https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/USA_Housing.csv\", header=0)"
1919
]
2020
},
2121
{
@@ -2277,7 +2277,6 @@
22772277
]
22782278
},
22792279
{
2280-
"attachments": {},
22812280
"cell_type": "markdown",
22822281
"metadata": {},
22832282
"source": [

Chapter01/Excercises/Excercise_02_remove_missing_data.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"import pandas as pd\n",
1717
"\n",
1818
"#reading the data into the dataframe into the object data\n",
19-
"df = pd.read_csv('../Data/Banking_Marketing.csv', header=0)"
19+
"df = pd.read_csv('https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/Banking_Marketing.csv', header=0)"
2020
]
2121
},
2222
{
@@ -28,7 +28,7 @@
2828
},
2929
{
3030
"cell_type": "code",
31-
"execution_count": 3,
31+
"execution_count": 2,
3232
"metadata": {},
3333
"outputs": [
3434
{
@@ -58,7 +58,7 @@
5858
"dtype: object"
5959
]
6060
},
61-
"execution_count": 3,
61+
"execution_count": 2,
6262
"metadata": {},
6363
"output_type": "execute_result"
6464
}

Chapter01/Excercises/Excercise_03_Impute_missing_data.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"import pandas as pd\n",
1717
"\n",
1818
"#reading the data into the dataframe into the object data\n",
19-
"df = pd.read_csv('../Data/Banking_Marketing.csv', header=0)"
19+
"df = pd.read_csv('https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/Banking_Marketing.csv', header=0)"
2020
]
2121
},
2222
{

Chapter01/Excercises/Excercise_04_Find_Outlier_Using_IQR.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 22,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -18,7 +18,7 @@
1818
"import matplotlib.pyplot as plt\n",
1919
"from scipy import stats\n",
2020
"import numpy as np\n",
21-
"df = pd.read_csv(\"../Data/german_credit_data.csv\")"
21+
"df = pd.read_csv(\"https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/german_credit_data.csv\")"
2222
]
2323
},
2424
{

Chapter01/Excercises/Excercise_05_Data _Integration_merge.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"outputs": [],
1515
"source": [
1616
"import pandas as pd\n",
17-
"df1 = pd.read_csv('../Data/mark.csv',header = 0)\n",
18-
"df2 = pd.read_csv('../Data/student.csv',header = 0)"
17+
"df1 = pd.read_csv('https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/mark.csv',header = 0)\n",
18+
"df2 = pd.read_csv('https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/student.csv',header = 0)"
1919
]
2020
},
2121
{

Chapter01/Excercises/Excercise_06_Replacement_Method_From_Categorical_to_Numeric.py.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 34,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
1616
"import pandas as pd\n",
1717
"import numpy as np\n",
18-
"df = pd.read_csv(\"../Data/student.csv\")"
18+
"df = pd.read_csv(\"https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/student.csv\")"
1919
]
2020
},
2121
{

Chapter01/Excercises/Excercise_07_Categorical_To_Numeric_Using_Label_Encoder.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 4,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -18,7 +18,7 @@
1818
"from sklearn.preprocessing import OneHotEncoder\n",
1919
"\n",
2020
"#reading the data into the dataframe into the object data\n",
21-
"df = pd.read_csv('../Data/Banking_Marketing.csv', header=0)"
21+
"df = pd.read_csv('https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/Banking_Marketing.csv', header=0)"
2222
]
2323
},
2424
{

Chapter01/Excercises/Excercise_08_Categorical_To_Numeric_Using_OneHot_Encoder_and_pd.get_dummies.py.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 35,
12+
"execution_count": 1,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
@@ -19,7 +19,7 @@
1919
"from sklearn.preprocessing import OneHotEncoder\n",
2020
"\n",
2121
"#reading the data into the dataframe into the object data\n",
22-
"df = pd.read_csv('../Data/Banking_Marketing.csv', header=0)\n",
22+
"df = pd.read_csv('https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/Banking_Marketing.csv', header=0)\n",
2323
"df1 = df"
2424
]
2525
},

Chapter01/Excercises/Excercise_09_standard_scaler.py.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
},
1010
{
1111
"cell_type": "code",
12-
"execution_count": 6,
12+
"execution_count": 2,
1313
"metadata": {},
1414
"outputs": [],
1515
"source": [
1616
"import pandas as pd\n",
1717
"from sklearn.preprocessing import StandardScaler\n",
18-
"df = pd.read_csv(\"../Data/Wholesale customers data.csv\")"
18+
"df = pd.read_csv(\"https://raw.githubusercontent.com/TrainingByPackt/Data-Science-with-Python/master/Chapter01/Data/Wholesale%20customers%20data.csv\")"
1919
]
2020
},
2121
{

0 commit comments

Comments
 (0)