mirror of
https://github.com/koodiklinikka/palkkakysely.git
synced 2026-01-26 03:14:03 +00:00
Packagify pulkka
This commit is contained in:
8
Makefile
8
Makefile
@@ -7,16 +7,16 @@ copy-raw-data: all-data
|
||||
cp data/results.tsv out/raw.tsv
|
||||
|
||||
copy-massaged-data: all-data
|
||||
python copy_massaged_data.py
|
||||
python -m pulkka.copy_massaged_data
|
||||
|
||||
static: all-data
|
||||
python massage_templates.py
|
||||
python -m pulkka.massage_templates
|
||||
|
||||
charts: all-data
|
||||
python generate_charts.py
|
||||
python -m pulkka.generate_charts
|
||||
|
||||
profiling: all-data
|
||||
python generate_profiling.py
|
||||
python -m pulkka.generate_profiling
|
||||
|
||||
all-data: data/results.xlsx data/results.tsv
|
||||
|
||||
|
||||
0
pulkka/__init__.py
Normal file
0
pulkka/__init__.py
Normal file
@@ -2,7 +2,7 @@ from bokeh import models as bm, plotting as bp
|
||||
from bokeh.transform import factor_cmap
|
||||
from pandas import DataFrame
|
||||
|
||||
from data_utils import get_categorical_stats
|
||||
from pulkka.data_utils import get_categorical_stats
|
||||
|
||||
CAT_Q_RADIUS = 0.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from data_ingest import read_data
|
||||
from pulkka.data_ingest import read_data
|
||||
|
||||
|
||||
def main():
|
||||
@@ -3,13 +3,13 @@ import bokeh.models as bm
|
||||
import bokeh.layouts as bl
|
||||
from pandas import DataFrame
|
||||
|
||||
from chart_utils import (
|
||||
from pulkka.chart_utils import (
|
||||
gender_colormap,
|
||||
get_df_hover_tool,
|
||||
set_yaxis_cash,
|
||||
get_categorical_stats_plot,
|
||||
)
|
||||
from data_ingest import read_data
|
||||
from pulkka.data_ingest import read_data
|
||||
|
||||
plot_funcs = set()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from data_ingest import read_data, force_tulot_numeric, force_age_numeric
|
||||
from pulkka.data_ingest import read_data, force_tulot_numeric, force_age_numeric
|
||||
from pandas_profiling import ProfileReport
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import jinja2
|
||||
import numpy
|
||||
import pandas
|
||||
|
||||
from data_ingest import read_data
|
||||
from pulkka.data_ingest import read_data
|
||||
|
||||
|
||||
def main():
|
||||
Reference in New Issue
Block a user