Assigments
This repo contains various Python programming assignment for data engineering role.
1. Counter
Instructions
- Write a body of a
count_analyses
method ofcounter
module , that returns number of possible analyses for givenpandas.DataFrame
. - Finish
py.tests
intests/counter/test_counter_analyses
.
Installation
Run: pip install -r requirements.txt
Test
Run: py.test tests/counter
2. Graph
Instructions
- Create new class
Edge
representing relation between 2 nodes. - Create new
Graph
methodadd_edge
adding new edge to the graph. - Write tests for
add_edge
method.
Installation
Run: pip install -r requirements.txt
Test
Run: py.test tests/graph