Skip to content

Commit acfb5c3

Browse files
committed
Update demo.
1 parent 9e5ccf1 commit acfb5c3

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

demo_notebook.ipynb

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77
"# NFStream: a Flexible Network Data Analysis Framework"
88
]
99
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": null,
13+
"metadata": {},
14+
"outputs": [],
15+
"source": [
16+
"import nfstream\n",
17+
"print(nfstream.__version__)"
18+
]
19+
},
1020
{
1121
"cell_type": "markdown",
1222
"metadata": {},
@@ -165,7 +175,8 @@
165175
"metadata": {},
166176
"outputs": [],
167177
"source": [
168-
"df = NFStreamer(source=\"tests/pcap/instagram.pcap\", statistical_analysis=True).to_pandas(ip_anonymization=True)"
178+
"df = NFStreamer(source=\"tests/pcap/instagram.pcap\", \n",
179+
" statistical_analysis=True).to_pandas(columns_to_anonymize=[\"src_ip\", \"src_mac\", \"dst_ip\", \"dst_mac\"])"
169180
]
170181
},
171182
{
@@ -299,7 +310,7 @@
299310
"name": "python",
300311
"nbconvert_exporter": "python",
301312
"pygments_lexer": "ipython3",
302-
"version": "3.8.2"
313+
"version": "3.8.5"
303314
}
304315
},
305316
"nbformat": 4,

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nfstream>=6.1.2
1+
nfstream>=6.2.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy