Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Data Science
emergency-calls
Commits
7003fc1c
Commit
7003fc1c
authored
Jun 23, 2016
by
Craig Earley
Browse files
now uploading two files
parent
d379b438
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
7003fc1c
...
...
@@ -2,10 +2,11 @@
This is the code and some other documentation for the 911 calls project.
# Key Files
This is where we are going to list key files.
# Project Members
This project is conducted by Shana Weissman, Craig Earley and Ahsan Ali Khoja.
# Key Files
This is where we are going to list key files.
final_map.py
0 → 100755
View file @
7003fc1c
import
pandas
as
pd
import
geoplotlib
as
gp
all_
=
pd
.
read_csv
(
'map_from_db.csv'
)
law_data
=
all_
[
all_
.
category
==
'l'
]
ems_data
=
all_
[
all_
.
category
==
'e'
]
multi_data
=
all_
[
all_
.
category
==
'm'
]
fire_data
=
all_
[
all_
.
category
==
'f'
]
#ques_data = all_[all_.category == '?']
gp
.
dot
(
law_data
,
color
=
'blue'
)
gp
.
dot
(
ems_data
,
color
=
'white'
)
gp
.
dot
(
multi_data
,
color
=
'green'
)
gp
.
dot
(
fire_data
,
color
=
'red'
)
#gp.dot(ques_data, color = 'yellow')
gp
.
tiles_provider
(
"darkmatter"
)
gp
.
show
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment