Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Chapter 02/Network Science Book, Chapter 2.ipynb

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions Chapter 03/Network Science Book, Chapter 3.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Chapter 05/Network Science Book, Chapter 5.ipynb

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Chapter 06/Network Science Book, Chapter 6.ipynb

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions Chapter 07/Network Science Book, Chapter 7.ipynb

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Chapter 09/Network Science Book, Chapter 9.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "a8a89244",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -465,7 +465,7 @@
],
"source": [
"#import file\n",
"File =\"/Users/franckm/Documents/draftcodefiles/Friendship_Factors.csv\"\n",
"File =os.path.normpath(\"../data/Friendship_Factors.csv\")\n",
"pwd = os.getcwd()\n",
"os.chdir(os.path.dirname(File))\n",
"mydata = pd.read_csv(os.path.basename(File),encoding='latin1')\n",
Expand Down Expand Up @@ -1092,7 +1092,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -1106,7 +1106,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.12.7"
}
},
"nbformat": 4,
Expand Down
8 changes: 4 additions & 4 deletions Chapter 13/Network Science Book, Chapter 13.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "9a810c28",
"metadata": {},
"outputs": [],
"source": [
"#import adjacency matrix\n",
"File = \"/Users/franckm/Documents/draftcodefiles/DRC_Transport.csv\"\n",
"File = os.path.normpath(\"../data/DRC_Transport.csv\")\n",
"pwd = os.getcwd()\n",
"os.chdir(os.path.dirname(File))\n",
"mydata = pd.read_csv(os.path.basename(File),encoding='latin1',header=None)"
Expand Down Expand Up @@ -313,13 +313,13 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "84fc4471",
"metadata": {},
"outputs": [],
"source": [
"#import Ebola dataset\n",
"File = \"/Users/franckm/Documents/draftcodefiles/Ebola_Data.csv\"\n",
"File = os.path.normpath(\"../data/Ebola_Data.csv\")\n",
"pwd = os.getcwd()\n",
"os.chdir(os.path.dirname(File))\n",
"data = pd.read_csv(os.path.basename(File),encoding='latin1')"
Expand Down