From 0c6084398584805565e57ae11d04416143d7d4e4 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 13 Aug 2023 16:40:48 +0200 Subject: [PATCH] wip --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a199f42..9b8f434 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,18 @@ source ~/de-p1st-monitor.venv/bin/activate pip install graph-cli ``` +3) Prepare data (WIP) + +```shell +qsv=/home/yoda/Downloads/qsv-0.108.0-x86_64-unknown-linux-gnu/qsv +file=foo.csv + +# TODO: Divide net_* total sent bytes column by 1.000.000 to make numbers smaller +"${qsv}" headers --just-names "${file}" +"${qsv}" apply dynfmt --formatstr '{FOO} €' -c 'Total Price' "${file}" +"${qsv}" apply calcconv --formatstr '{col1} + 10' --new-column BAR "${file}" +``` + 3) Create plots Create one plot for each .csv file with different resampling methods (https://pandas.pydata.org/pandas-docs/stable/reference/resampling.html#computations-descriptive-stats):