Closed ppeerttu closed 4 years ago
Btw, in case we want (or need) to implement unit tests, we can use the new Github Actions service for automated testing.
Btw, in case we want (or need) to implement unit tests, we can use the new Github Actions service for automated testing.
I don't think we really need them at all. I just wanted to check how they are done for python for learning purposes. But good to know in any case!
Details
Implemented a simple demo with Plotly and the crime data.
EDIT: Moved the logic in to a class and removed the demo file as we're probably not needing demos in the repository (demos can be done ad-hoc anyways).
Steps to try it out
requirements.txt
../data
~datasets
directory (~outside of~ inside the repository)Place the following code in the root directory e.g.
demo.py
:Limitations
plotly
library can't handle huge amount of data points (at least on my computer)