mirror of
https://github.com/NetherlandsForensicInstitute/hansken-python-workshop.git
synced 2026-08-20 04:47:33 +00:00
Updated requirements with Seaborn.
This commit is contained in:
@@ -39,7 +39,8 @@ context = connect_project(endpoint='http://localhost:9091/gatekeeper/',
|
||||
|
||||
start = '2022-7-1T00:00Z'
|
||||
end = '2022-7-31T23:59Z'
|
||||
search_query = "type:chatMessage"
|
||||
#search_query = "type:chatMessage"
|
||||
search_query = "type:browserHistory"
|
||||
|
||||
# Group the number of searches by the accessedOn property on a scale of a day. A Facet on a date requires a min and max
|
||||
facet = RangeFacet('dates', scale='hour', min=start, max=end)
|
||||
@@ -60,3 +61,5 @@ df_map = pd.pivot_table( df, fill_value=0.0, columns=df.index.date, index=df.ind
|
||||
|
||||
sns.heatmap(df_map, cmap="Greens",norm=LogNorm())
|
||||
|
||||
|
||||
# %%
|
||||
|
||||
@@ -47,6 +47,7 @@ python-dateutil==2.8.2
|
||||
pytz==2022.7.1
|
||||
pyzmq==25.0.1
|
||||
requests==2.28.2
|
||||
seaborn=0.12.2
|
||||
six==1.16.0
|
||||
squarify==0.4.3
|
||||
stack-data==0.6.2
|
||||
|
||||
@@ -48,6 +48,7 @@ pytz==2022.7.1
|
||||
# pywin32==305
|
||||
pyzmq==25.0.1
|
||||
requests==2.28.2
|
||||
seaborn=0.12.2
|
||||
six==1.16.0
|
||||
squarify==0.4.3
|
||||
stack-data==0.6.2
|
||||
|
||||
@@ -48,6 +48,7 @@ pytz==2022.7.1
|
||||
pywin32==305
|
||||
pyzmq==25.0.1
|
||||
requests==2.28.2
|
||||
seaborn=0.12.2
|
||||
six==1.16.0
|
||||
squarify==0.4.3
|
||||
stack-data==0.6.2
|
||||
|
||||
Reference in New Issue
Block a user