cr.cube 3.3.8__tar.gz → 3.3.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cr_cube-3.3.8 → cr_cube-3.3.10}/HISTORY.md +7 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/PKG-INFO +9 -1
- {cr_cube-3.3.8 → cr_cube-3.3.10}/README.md +8 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/__init__.py +1 -1
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/cubepart.py +25 -25
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/enums.py +1 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/matrix/assembler.py +6 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/matrix/measure.py +101 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr_cube.egg-info/PKG-INFO +9 -1
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr_cube.egg-info/SOURCES.txt +1 -0
- cr_cube-3.3.10/tests/fixtures/cat-x-cat-paired-filter.json +388 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_cubepart.py +166 -3
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/matrix/test_assembler.py +0 -22
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_cubepart.py +60 -1
- {cr_cube-3.3.8 → cr_cube-3.3.10}/.coveragerc +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/.flake8 +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/.pre-commit-config.yaml +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/.readthedocs.yaml +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/LICENSE +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/MANIFEST.in +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/Makefile +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/Makefile +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/Makefile +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/conf.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/crunch_logo.png +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/cube.rst +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/cubepart.rst +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/dimension.rst +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/index.rst +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/docs/source/quickstart.rst +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/requirements-rtd.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/setup.cfg +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/setup.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/collator.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/cube.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/dimension.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/matrix/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/matrix/cubemeasure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/matrix/subtotals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/measures/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/measures/pairwise_significance.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/min_base_size_mask.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/scalar.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/smoothing.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/stripe/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/stripe/assembler.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/stripe/cubemeasure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/stripe/insertion.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/stripe/measure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr/cube/util.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr_cube.egg-info/dependency_links.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr_cube.egg-info/requires.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr_cube.egg-info/top_level.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/src/cr_cube.egg-info/zip-safe +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/admit-x-dept-unweighted-col-prop-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-subvar-ca-cat-x-cat-date-scale-means-w2.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-subvar-x-ca-cat-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-subvar-x-ca-cat-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-subvar-x-ca-cat-hs-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-subvar-x-ca-cat-hs-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-x-cat-hs-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/ca-x-mr-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-subdiff-x-cat-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-subdiff-x-cat-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-col-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-col-stddev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-col-stderr.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-column-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-columns-margin-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-row-margin-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-row-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-tbl-stddev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-tbl-stderr.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-hs-x-mr-zscores.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-col-idx-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-col-props-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-date-smoothed-col-pct-w1.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-date-smoothed-scale-means-w2.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-date-wgtd-smoothed-col-idx-w4.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-date-wgtd-smoothed-col-pct-w4.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-pw-idxs-alt.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-scale-mean-pw-idxs-alt.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-scale-mean-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-scale-means-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-hs-scale-means-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-population-counts-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-population-counts.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-pruning-hs-col-prop-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-pruning-hs-table-prop-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-pw-idxs-recip.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-scale-mean-pw-idxs-alt.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-scale-mean-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-ucounts-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-wgtd-pw-indices.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-wgtd-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-wgtd-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-cat-zscores-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-mr-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-mr-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-mr-scale-mean-pw-idxs-alt.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-mr-scale-mean-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-mr-x-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat-x-mr-x-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat_x_cat_hirotsu_chi_squared.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat_x_cat_hirotsu_pvals.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/cat_x_cat_with_hs_hirotsu_pvals.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/col-per-moe-cat-x-cat-hs-2rows-1col.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/col-std-dev-cat-x-cat-hs-2rows-1col.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/col-std-err-cat-x-cat-hs-2rows-1col.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/datetime-x-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/datetime-x-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/econ-gender-x-ideology-weighted-col-prop-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/econ-gender-x-ideology-weighted-row-prop-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/econ-gender-x-ideology-weighted-row-std-dev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/econ-gender-x-ideology-weighted-table-prop-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-col-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-col-stddev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-col-stderr.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-column-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-columns-margin-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-row-margin-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-row-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-tbl-stddev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-tbl-stderr.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-hs-zscores.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-pw-idxs-alt.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-col-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-col-std-dev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-col-std-err.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-table-moe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-table-std-dev.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-table-std-err.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-cat-weighted-zscores.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-column-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-columns-margin-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-explicit-order.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-pw-idxs.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-pw-pvals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-pw-tstats.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-row-margin-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr-x-mr-row-proportions.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr_x_cat_chi_squared_rows.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/mr_x_cat_pairwise_pvals.txt +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/num-arr-means-grouped-by-cat-hs-p-vals-col-7.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/num-arr-means-grouped-by-cat-hs-t-stats-col-7.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/num-arr-means-grouped-by-cat-p-vals-col-4.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/num-arr-means-grouped-by-cat-t-stats-col-4.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/num-array-means-grouped-by-cat-date-smoothed.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/numeric-x-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/numeric-x-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/txt-x-cat-date-smoothed-col-idx-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/expectations/txt-x-cat-date-smoothed-col-pct-w3.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/admit-x-dept-unweighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/admit-x-gender-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/age-x-accrpipe.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-as-0th.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-cat-x-ca-subvar-user-missing.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-cat-x-ca-subvar.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-cat-x-mr-x-ca-subvar-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-single-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-hs-x-mr-x-ca-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-hs-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-x-ca-cat-empties.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-x-ca-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-x-ca-cat-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-x-ca-cat-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-subvar-x-ca-cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-x-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-x-mr-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-x-mr-weighted-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/ca-x-single-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-4-x-cat-4.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-4-x-cat-5.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-date-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-date-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-mt-x-cat-hs-mt.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-mt.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-subdiff-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-cat-hs-empties.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-compare-groups.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-mr-wgtd.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-hs-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-means-and-counts.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-means-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-median.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-stddev.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-subtot-order.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-sum-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-sum.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-user-missing.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-all-missing-row-elements.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-date-wgtd.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-filt-complete.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-filt.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-german-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-hs-2rows-1col.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-hs-missing.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-hs-total-bottom.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-mean-subtot.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-mean-wgtd.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-weighted-ttests.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-wgtd.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat-with-empty-cols.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-datetime.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-items-x-cats-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-logical.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-2.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-pruned-col.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-pruned-row-col.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-pruned-row.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-sentry.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-stddev.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-subvar-means.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-unicode-sv-alias.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-weighted-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-x-cat-missing.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-x-mr-empty-cols.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-x-mr-pruned-rows.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-num-hs-prune.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat-x-num-x-datetime.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/datetime-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/deck-with-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/dichotomized-numeric-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-blame-with-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-blame-x-ideology-col-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-blame-x-ideology-row-and-col-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-blame-x-ideology-row-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-gender-x-ideology-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-mean-age-blame-x-gender.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-mean-no-dims.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-nodata-no-dims.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/econ-us-problem-x-bigger-problem.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/food-group-x-shape-of-pasta-2rows-insertion.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/food-group-x-shape-pasta-2rows1col-insertion.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/fruit-hs-top-bottom.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/fruit-x-pets-array-pets-first.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/fruit-x-pets-array-subvars-first.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/fruit-x-pets-array.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/fruit-x-pets-hs-top-bottom.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/fruit-x-pets.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/full-cube.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/gender-party-race.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/gender-x-weight.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/letters-x-pets-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/logical-univariate.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mean-cat-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/means-3d.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/means-cat-hs-x-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/means-cat-x-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/means-cat-x-mr-2.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/means-cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/means-mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/median-cat-x-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/median-cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/median-mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/missing-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-1-x-mr-3.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-mean-filt-wgtd.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-mean-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-median.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-stddev.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-sum.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-wgtd.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-ca-cat-x-ca-subvar.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-ca-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-2.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-hs-mt.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-mean-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-profiles-stats-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-pruned-col.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-pruned-row-col.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-pruned-row.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-with-means.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-x-mr-prune.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-compare-groups.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-2.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-index-table.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-mean-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-mean.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-means.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-median.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-selected-categories.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-single-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-sum.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr-with-pruning.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr-x-single-wave.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/cat-hs-top-btm.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/cat-x-mr-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/mr-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/scorecard.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/mr_insertions/univariate-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/not-mr-cats.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/nssat-mr-x-3vl.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/nssat-mr-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/num-binned.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/num-ranges.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/num-x-num-empty.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/num.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric-measures-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-hs-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-grouped-by-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-no-grouping-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-no-grouping.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-scale-measures.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-x-mr-weighted.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-means-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-median-grouped-by-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-median-no-grouping.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-median-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-multi-numeric-measures-grouped-by-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-multi-numeric-measures-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-stddev-grouped-by-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-stddev-no-grouping.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-stddev-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-sum-grouped-by-cat-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-sum-grouped-by-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-sum-no-grouping.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-sum-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/numeric_arrays/num-arr-sums-with-nan-values.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/om-sgp8334215-vn-2019-sep-19-strand.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/om-sgp8334215-vn-2019-sep-19.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/ca-sub-x-ca-cat-x-mr-sub-x-mr-sel.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/cat-hs-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/cat-simple-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/cat-st-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/cat-x-mr-gender-x-all-pets-owned.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/cat-x-mr-realistic-example.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/cat-x-mr-sub-x-mr-sel.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/mr-single-subvar-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/mr-x-mr-realistic-example.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/overlaps/mr-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pairwise-hirotsu-illness-x-occupation-plain-weights.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pairwise-hirotsu-illness-x-occupation-square-weights.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pairwise-hirotsu-illness-x-occupation-with-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pairwise-hirotsu-illness-x-occupation.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pairwise-hirotsu-occupation-x-illness.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-array-cat-first.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-array-subvar-first.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-array-x-pets.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-array.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-x-fruit-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-x-fruit.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-x-pets-array.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/pets-x-pets.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/profiles-percents.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/prompted-awareness.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale-with-null-values.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/bolshevik-hair.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/ca-cat-x-items.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/ca-items-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/ca-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/cat-nps-numval-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/cat-single-element-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/cat-x-ca-cat-x-items.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/cat-x-cat-sm-margin.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/cat-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/univariate-ca-subvar.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/univariate-cat-with-all-null-numeric-value.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/univariate-cat-with-null-numeric-value.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scale_means/univariate-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/scorecard.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/selected-3way-2-filledmissing.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/selected-3way-filledmissing.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/simple-ca-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/simple-cat-array.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/simple-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/single-col-margin-not-iterable.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/squared-weights-cat-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/squared-weights.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/stats-test.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/sum-cat-x-mr.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/sum-mr-x-cat.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/test-dashboard-fixture.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/text.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/transforms/test-dashboard-transform-no-ordering.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/transforms/test-dashboard-transform-single-el-visible.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/txt-x-cat-date.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/univ-mr-with-hs.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/univariate-categorical.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/fixtures/xyz-simple-alltypes.json +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_collator.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_cube.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_dimension.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_headers_and_subtotals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_index_table.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_matrix.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_multiple_response.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_numeric_array.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_pairwise_significance.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_scale_additional_measures.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_scale_means.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_smoothing.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/integration/test_stripe.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/matrix/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/matrix/test_cubemeasure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/matrix/test_measure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/matrix/test_subtotals.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/stripe/__init__.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/stripe/test_assembler.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/stripe/test_cubemeasure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/stripe/test_insertion.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/stripe/test_measure.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_collator.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_cube.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_dimension.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_enum.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_scalar.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_smoothing.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unit/test_util.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/unitutil.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tests/util.py +0 -0
- {cr_cube-3.3.8 → cr_cube-3.3.10}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cr_cube
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.10
|
|
4
4
|
Summary: Crunch.io Cube library
|
|
5
5
|
Home-page: https://github.com/Crunch-io/crunch-cube/
|
|
6
6
|
Author: Crunch.io
|
|
@@ -119,6 +119,14 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
|
|
|
119
119
|
|
|
120
120
|
## Changes
|
|
121
121
|
|
|
122
|
+
### 3.3.10
|
|
123
|
+
|
|
124
|
+
- Add a new Column Proportions Diff Measure
|
|
125
|
+
|
|
126
|
+
### 3.3.9
|
|
127
|
+
|
|
128
|
+
- Build released version with Python 3.11
|
|
129
|
+
|
|
122
130
|
### 3.3.8
|
|
123
131
|
|
|
124
132
|
- Use native namespace packages for cr instead of deprecated pkg_resources / pkgutil
|
|
@@ -88,6 +88,14 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
|
|
|
88
88
|
|
|
89
89
|
## Changes
|
|
90
90
|
|
|
91
|
+
### 3.3.10
|
|
92
|
+
|
|
93
|
+
- Add a new Column Proportions Diff Measure
|
|
94
|
+
|
|
95
|
+
### 3.3.9
|
|
96
|
+
|
|
97
|
+
- Build released version with Python 3.11
|
|
98
|
+
|
|
91
99
|
### 3.3.8
|
|
92
100
|
|
|
93
101
|
- Use native namespace packages for cr instead of deprecated pkg_resources / pkgutil
|
|
@@ -367,6 +367,31 @@ class _Slice(CubePartition):
|
|
|
367
367
|
"""
|
|
368
368
|
return Z_975 * self.column_std_err
|
|
369
369
|
|
|
370
|
+
def column_proportions_diff(self, control):
|
|
371
|
+
"""2D np.float64 ndarray of column-proportion differences from a control column.
|
|
372
|
+
|
|
373
|
+
Computes the difference between each column's proportions and the control
|
|
374
|
+
column's proportions. Returns a 2D array with the same shape as other measures
|
|
375
|
+
(n_rows × n_cols).
|
|
376
|
+
|
|
377
|
+
The control column will have zeros (control - control = 0), and all other
|
|
378
|
+
columns will show their difference from the control (column - control).
|
|
379
|
+
|
|
380
|
+
This measure supports sorting by the diff values.
|
|
381
|
+
|
|
382
|
+
Args:
|
|
383
|
+
control: Index of the control column (the column to compare against)
|
|
384
|
+
|
|
385
|
+
Returns:
|
|
386
|
+
2D np.float64 ndarray containing the difference of column proportions
|
|
387
|
+
from the control column, ordered according to row and column transforms.
|
|
388
|
+
|
|
389
|
+
Raises:
|
|
390
|
+
ValueError: If control index is out of range or negative.
|
|
391
|
+
"""
|
|
392
|
+
measure = self._measures.column_proportions_diff(control)
|
|
393
|
+
return self._assemble_matrix(measure.blocks)
|
|
394
|
+
|
|
370
395
|
@lazyproperty
|
|
371
396
|
def column_share_sum(self):
|
|
372
397
|
"""2D optional np.float64 ndarray of column share sum value for each table cell.
|
|
@@ -1898,31 +1923,6 @@ class _Slice(CubePartition):
|
|
|
1898
1923
|
np.ix_(self._row_order_signed_indexes, self._column_order_signed_indexes)
|
|
1899
1924
|
]
|
|
1900
1925
|
|
|
1901
|
-
def _assemble_vector(self, base_vector, subtotals, order, diffs_nan=False):
|
|
1902
|
-
"""Return 1D ndarray of `base_vector` with inserted `subtotals`, in `order`.
|
|
1903
|
-
|
|
1904
|
-
Each subtotal value is the result of applying np.sum to the addends and
|
|
1905
|
-
subtrahends extracted from `base_vector` according to the `addend_idxs`
|
|
1906
|
-
and `subtrahend_idxs` property of each subtotal in `subtotals`. The returned
|
|
1907
|
-
array is arranged by `order`, including possibly removing hidden or pruned
|
|
1908
|
-
values.
|
|
1909
|
-
"""
|
|
1910
|
-
# TODO: This works for "sum" and "diff" subtotals, because either we set to
|
|
1911
|
-
# nan or add & subtract, but a fuller solution will probably get the subtotal
|
|
1912
|
-
# values from a _BaseSubtotals subclass.
|
|
1913
|
-
vector_subtotals = np.array(
|
|
1914
|
-
[
|
|
1915
|
-
(
|
|
1916
|
-
np.nan
|
|
1917
|
-
if diffs_nan and len(subtotal.subtrahend_idxs) > 0
|
|
1918
|
-
else np.sum(base_vector[subtotal.addend_idxs])
|
|
1919
|
-
- np.sum(base_vector[subtotal.subtrahend_idxs])
|
|
1920
|
-
)
|
|
1921
|
-
for subtotal in subtotals
|
|
1922
|
-
]
|
|
1923
|
-
)
|
|
1924
|
-
return np.hstack([base_vector, vector_subtotals])[order]
|
|
1925
|
-
|
|
1926
1926
|
@lazyproperty
|
|
1927
1927
|
def _column_order_signed_indexes(self):
|
|
1928
1928
|
"""1D np.int64 ndarray of signed int idx for each assembled column.
|
|
@@ -117,6 +117,7 @@ class MEASURE(enum.Enum):
|
|
|
117
117
|
COLUMN_BASE_WEIGHTED = "col_base_weighted"
|
|
118
118
|
COLUMN_INDEX = "col_index"
|
|
119
119
|
COLUMN_PERCENT = "col_percent"
|
|
120
|
+
COLUMN_PERCENT_DIFF = "col_percent_diff"
|
|
120
121
|
AUDIENCE_RATIO = "audience_ratio"
|
|
121
122
|
COLUMN_PERCENT_MOE = "col_percent_moe"
|
|
122
123
|
COLUMN_SHARE_SUM = "col_share_sum"
|
|
@@ -179,6 +179,12 @@ class _BaseOrderHelper:
|
|
|
179
179
|
M.Z_SCORE: "zscores",
|
|
180
180
|
}
|
|
181
181
|
measure = self._order_spec.measure
|
|
182
|
+
|
|
183
|
+
# --- column_proportions_diff is a method that takes a control column index ---
|
|
184
|
+
# --- Default to control=0 for sorting ---
|
|
185
|
+
if measure == M.COLUMN_PERCENT_DIFF:
|
|
186
|
+
return self._second_order_measures.column_proportions_diff(control=0)
|
|
187
|
+
|
|
182
188
|
measure_propname = propname_by_measure.get(measure)
|
|
183
189
|
|
|
184
190
|
if measure_propname is None:
|
|
@@ -53,6 +53,19 @@ class SecondOrderMeasures:
|
|
|
53
53
|
"""_ColumnProportions measure object for this cube-result."""
|
|
54
54
|
return _ColumnProportions(self._dimensions, self, self._cube_measures)
|
|
55
55
|
|
|
56
|
+
def column_proportions_diff(self, control):
|
|
57
|
+
"""_ColumnProportionsDiff measure object for this cube-result.
|
|
58
|
+
|
|
59
|
+
Args:
|
|
60
|
+
control: Index of the control column (the column to compare against)
|
|
61
|
+
|
|
62
|
+
Returns:
|
|
63
|
+
_ColumnProportionsDiff measure computing (each column - control column)
|
|
64
|
+
"""
|
|
65
|
+
return _ColumnProportionsDiff(
|
|
66
|
+
self._dimensions, self, self._cube_measures, control
|
|
67
|
+
)
|
|
68
|
+
|
|
56
69
|
@lazyproperty
|
|
57
70
|
def column_proportion_variances(self):
|
|
58
71
|
"""_ProportionVariances measure object for this cube-result."""
|
|
@@ -849,6 +862,94 @@ class _ColumnProportions(_BaseSecondOrderMeasure):
|
|
|
849
862
|
return self._second_order_measures.column_weighted_bases.blocks
|
|
850
863
|
|
|
851
864
|
|
|
865
|
+
class _ColumnProportionsDiff(_BaseSecondOrderMeasure):
|
|
866
|
+
"""Provides the column-proportions difference measure for a matrix.
|
|
867
|
+
|
|
868
|
+
Column-proportions-diff is a 2D np.float64 ndarray containing the difference
|
|
869
|
+
between each column's proportions and a control column's proportions.
|
|
870
|
+
|
|
871
|
+
The result has the same shape as other measures (n_rows × n_cols). The control
|
|
872
|
+
column will have zeros, and all other columns show (column - control).
|
|
873
|
+
"""
|
|
874
|
+
|
|
875
|
+
def __init__(self, dimensions, second_order_measures, cube_measures, control):
|
|
876
|
+
super().__init__(dimensions, second_order_measures, cube_measures)
|
|
877
|
+
self._control = control
|
|
878
|
+
|
|
879
|
+
@lazyproperty
|
|
880
|
+
def blocks(self):
|
|
881
|
+
"""Nested list of the four 2D ndarray "blocks" making up this measure.
|
|
882
|
+
|
|
883
|
+
The blocks structure matches other measures with shape (n_rows × n_cols).
|
|
884
|
+
"""
|
|
885
|
+
return [
|
|
886
|
+
[self._base_values, self._subtotal_columns],
|
|
887
|
+
[self._subtotal_rows, self._intersections],
|
|
888
|
+
]
|
|
889
|
+
|
|
890
|
+
@lazyproperty
|
|
891
|
+
def _base_values(self):
|
|
892
|
+
"""2D ndarray np.float64 of column proportions diff (n_rows, n_cols).
|
|
893
|
+
|
|
894
|
+
Returns the difference between each column and the control column.
|
|
895
|
+
The control column will have zeros.
|
|
896
|
+
"""
|
|
897
|
+
return self._diff_from_control(self._col_props_blocks[0][0])
|
|
898
|
+
|
|
899
|
+
@lazyproperty
|
|
900
|
+
def _col_props_blocks(self):
|
|
901
|
+
"""Nested list of four 2D ndarray blocks from column_proportions measure."""
|
|
902
|
+
return self._second_order_measures.column_proportions.blocks
|
|
903
|
+
|
|
904
|
+
def _diff_from_control(self, block):
|
|
905
|
+
"""Return block with control column subtracted from all columns.
|
|
906
|
+
|
|
907
|
+
The control column will have zeros, all other columns show (column - control).
|
|
908
|
+
"""
|
|
909
|
+
if block.size == 0:
|
|
910
|
+
return block
|
|
911
|
+
control_col = block[:, self._control].reshape(-1, 1)
|
|
912
|
+
return block - control_col
|
|
913
|
+
|
|
914
|
+
@lazyproperty
|
|
915
|
+
def _intersections(self):
|
|
916
|
+
"""(n_row_subtotals, n_col_subtotals) ndarray of intersection values.
|
|
917
|
+
|
|
918
|
+
Intersection values use the control column from the row-subtotals block
|
|
919
|
+
(blocks[1][0]) since the intersection block has shape (n_row_subtotals,
|
|
920
|
+
n_col_subtotals) and the control index refers to base columns.
|
|
921
|
+
"""
|
|
922
|
+
intersections = self._col_props_blocks[1][1]
|
|
923
|
+
subtotal_rows = self._col_props_blocks[1][0]
|
|
924
|
+
if intersections.size == 0 or subtotal_rows.size == 0:
|
|
925
|
+
return intersections
|
|
926
|
+
# Use control from row subtotals (which has base column dimension)
|
|
927
|
+
control_col = subtotal_rows[:, self._control].reshape(-1, 1)
|
|
928
|
+
return intersections - control_col
|
|
929
|
+
|
|
930
|
+
@lazyproperty
|
|
931
|
+
def _subtotal_columns(self):
|
|
932
|
+
"""2D np.float64 ndarray of subtotal columns (n_rows, n_col_subtotals).
|
|
933
|
+
|
|
934
|
+
Column subtotals use the control column from the base values block
|
|
935
|
+
(blocks[0][0]) since the control index refers to base columns.
|
|
936
|
+
"""
|
|
937
|
+
col_subtotals = self._col_props_blocks[0][1]
|
|
938
|
+
base_values = self._col_props_blocks[0][0]
|
|
939
|
+
if col_subtotals.size == 0:
|
|
940
|
+
return col_subtotals
|
|
941
|
+
control_col = base_values[:, self._control].reshape(-1, 1)
|
|
942
|
+
return col_subtotals - control_col
|
|
943
|
+
|
|
944
|
+
@lazyproperty
|
|
945
|
+
def _subtotal_rows(self):
|
|
946
|
+
"""2D np.float64 ndarray of subtotal rows diff (n_row_subtotals, n_cols).
|
|
947
|
+
|
|
948
|
+
Returns the difference between each column and the control for row subtotals.
|
|
949
|
+
"""
|
|
950
|
+
return self._diff_from_control(self._col_props_blocks[1][0])
|
|
951
|
+
|
|
952
|
+
|
|
852
953
|
class _AudienceRatio(_ColumnProportions):
|
|
853
954
|
"""Provides the audience-ratio measure for a matrix.
|
|
854
955
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cr_cube
|
|
3
|
-
Version: 3.3.
|
|
3
|
+
Version: 3.3.10
|
|
4
4
|
Summary: Crunch.io Cube library
|
|
5
5
|
Home-page: https://github.com/Crunch-io/crunch-cube/
|
|
6
6
|
Author: Crunch.io
|
|
@@ -119,6 +119,14 @@ Please visit <https://crunch-cube.readthedocs.io/en/latest> for the API referenc
|
|
|
119
119
|
|
|
120
120
|
## Changes
|
|
121
121
|
|
|
122
|
+
### 3.3.10
|
|
123
|
+
|
|
124
|
+
- Add a new Column Proportions Diff Measure
|
|
125
|
+
|
|
126
|
+
### 3.3.9
|
|
127
|
+
|
|
128
|
+
- Build released version with Python 3.11
|
|
129
|
+
|
|
122
130
|
### 3.3.8
|
|
123
131
|
|
|
124
132
|
- Use native namespace packages for cr instead of deprecated pkg_resources / pkgutil
|
|
@@ -224,6 +224,7 @@ tests/fixtures/cat-x-cat-hs-total-bottom.json
|
|
|
224
224
|
tests/fixtures/cat-x-cat-hs.json
|
|
225
225
|
tests/fixtures/cat-x-cat-mean-subtot.json
|
|
226
226
|
tests/fixtures/cat-x-cat-mean-wgtd.json
|
|
227
|
+
tests/fixtures/cat-x-cat-paired-filter.json
|
|
227
228
|
tests/fixtures/cat-x-cat-weighted-ttests.json
|
|
228
229
|
tests/fixtures/cat-x-cat-wgtd.json
|
|
229
230
|
tests/fixtures/cat-x-cat-with-empty-cols.json
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
{
|
|
2
|
+
"result": {
|
|
3
|
+
"n": 3,
|
|
4
|
+
"counts": [
|
|
5
|
+
1,
|
|
6
|
+
0,
|
|
7
|
+
0,
|
|
8
|
+
1,
|
|
9
|
+
0,
|
|
10
|
+
0,
|
|
11
|
+
1,
|
|
12
|
+
0,
|
|
13
|
+
0,
|
|
14
|
+
1,
|
|
15
|
+
0,
|
|
16
|
+
0,
|
|
17
|
+
1,
|
|
18
|
+
0,
|
|
19
|
+
0,
|
|
20
|
+
1,
|
|
21
|
+
0,
|
|
22
|
+
0,
|
|
23
|
+
0,
|
|
24
|
+
0,
|
|
25
|
+
0,
|
|
26
|
+
0,
|
|
27
|
+
0,
|
|
28
|
+
0
|
|
29
|
+
],
|
|
30
|
+
"dimensions": [
|
|
31
|
+
{
|
|
32
|
+
"type": {
|
|
33
|
+
"class": "categorical",
|
|
34
|
+
"ordinal": false,
|
|
35
|
+
"categories": [
|
|
36
|
+
{
|
|
37
|
+
"missing": false,
|
|
38
|
+
"numeric_value": 15,
|
|
39
|
+
"id": 1,
|
|
40
|
+
"name": "W1"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"missing": false,
|
|
44
|
+
"numeric_value": 25,
|
|
45
|
+
"id": 2,
|
|
46
|
+
"name": "W2"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"missing": false,
|
|
50
|
+
"numeric_value": 30,
|
|
51
|
+
"id": 3,
|
|
52
|
+
"name": "W3"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": -1,
|
|
56
|
+
"name": "No Data",
|
|
57
|
+
"numeric_value": null,
|
|
58
|
+
"missing": true
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"references": {
|
|
63
|
+
"name": "wave",
|
|
64
|
+
"alias": "wave"
|
|
65
|
+
},
|
|
66
|
+
"derived": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": {
|
|
70
|
+
"class": "enum",
|
|
71
|
+
"elements": [
|
|
72
|
+
{
|
|
73
|
+
"id": 1,
|
|
74
|
+
"value": {
|
|
75
|
+
"id": "000001",
|
|
76
|
+
"references": {
|
|
77
|
+
"alias": "g1",
|
|
78
|
+
"name": "g1"
|
|
79
|
+
},
|
|
80
|
+
"derived": false
|
|
81
|
+
},
|
|
82
|
+
"missing": false
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": 2,
|
|
86
|
+
"value": {
|
|
87
|
+
"id": "000002",
|
|
88
|
+
"references": {
|
|
89
|
+
"alias": "g2",
|
|
90
|
+
"name": "g2"
|
|
91
|
+
},
|
|
92
|
+
"derived": false
|
|
93
|
+
},
|
|
94
|
+
"missing": false
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"subtype": {
|
|
98
|
+
"class": "variable"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"references": {
|
|
102
|
+
"subreferences": [
|
|
103
|
+
{
|
|
104
|
+
"alias": "g1",
|
|
105
|
+
"name": "g1"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"alias": "g2",
|
|
109
|
+
"name": "g2"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"uniform_basis": false,
|
|
113
|
+
"name": "_groups_expr",
|
|
114
|
+
"alias": "_groups_expr"
|
|
115
|
+
},
|
|
116
|
+
"derived": true
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": {
|
|
120
|
+
"class": "categorical",
|
|
121
|
+
"ordinal": false,
|
|
122
|
+
"categories": [
|
|
123
|
+
{
|
|
124
|
+
"id": 1,
|
|
125
|
+
"name": "Selected",
|
|
126
|
+
"numeric_value": 1,
|
|
127
|
+
"selected": true,
|
|
128
|
+
"missing": false
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": 0,
|
|
132
|
+
"name": "Other",
|
|
133
|
+
"numeric_value": 0,
|
|
134
|
+
"missing": false
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": -1,
|
|
138
|
+
"name": "No Data",
|
|
139
|
+
"numeric_value": null,
|
|
140
|
+
"missing": true
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"subvariables": [
|
|
144
|
+
"000001",
|
|
145
|
+
"000002"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"references": {
|
|
149
|
+
"subreferences": [
|
|
150
|
+
{
|
|
151
|
+
"alias": "g1",
|
|
152
|
+
"name": "g1"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"alias": "g2",
|
|
156
|
+
"name": "g2"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"uniform_basis": false,
|
|
160
|
+
"name": "_groups_expr",
|
|
161
|
+
"alias": "_groups_expr"
|
|
162
|
+
},
|
|
163
|
+
"derived": true
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"measures": {
|
|
167
|
+
"count": {
|
|
168
|
+
"metadata": {
|
|
169
|
+
"type": {
|
|
170
|
+
"class": "numeric",
|
|
171
|
+
"integer": true,
|
|
172
|
+
"missing_reasons": {
|
|
173
|
+
"No Data": -1
|
|
174
|
+
},
|
|
175
|
+
"missing_rules": {}
|
|
176
|
+
},
|
|
177
|
+
"references": {},
|
|
178
|
+
"derived": true
|
|
179
|
+
},
|
|
180
|
+
"data": [
|
|
181
|
+
1,
|
|
182
|
+
0,
|
|
183
|
+
0,
|
|
184
|
+
1,
|
|
185
|
+
0,
|
|
186
|
+
0,
|
|
187
|
+
1,
|
|
188
|
+
0,
|
|
189
|
+
0,
|
|
190
|
+
1,
|
|
191
|
+
0,
|
|
192
|
+
0,
|
|
193
|
+
1,
|
|
194
|
+
0,
|
|
195
|
+
0,
|
|
196
|
+
1,
|
|
197
|
+
0,
|
|
198
|
+
0,
|
|
199
|
+
0,
|
|
200
|
+
0,
|
|
201
|
+
0,
|
|
202
|
+
0,
|
|
203
|
+
0,
|
|
204
|
+
0
|
|
205
|
+
],
|
|
206
|
+
"n_missing": 0
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"missing": 0,
|
|
210
|
+
"filter_stats": {
|
|
211
|
+
"is_cat_date": false,
|
|
212
|
+
"filtered": {
|
|
213
|
+
"unweighted": {
|
|
214
|
+
"selected": 3,
|
|
215
|
+
"other": 0,
|
|
216
|
+
"missing": 0
|
|
217
|
+
},
|
|
218
|
+
"weighted": {
|
|
219
|
+
"selected": 3,
|
|
220
|
+
"other": 0,
|
|
221
|
+
"missing": 0
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"filtered_complete": {
|
|
225
|
+
"unweighted": {
|
|
226
|
+
"selected": 3,
|
|
227
|
+
"other": 0,
|
|
228
|
+
"missing": 0
|
|
229
|
+
},
|
|
230
|
+
"weighted": {
|
|
231
|
+
"selected": 3,
|
|
232
|
+
"other": 0,
|
|
233
|
+
"missing": 0
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"unfiltered": {
|
|
238
|
+
"unweighted_n": 3,
|
|
239
|
+
"weighted_n": 3
|
|
240
|
+
},
|
|
241
|
+
"filtered": {
|
|
242
|
+
"unweighted_n": 3,
|
|
243
|
+
"weighted_n": 3
|
|
244
|
+
},
|
|
245
|
+
"element": "crunch:cube"
|
|
246
|
+
},
|
|
247
|
+
"query": {
|
|
248
|
+
"dimensions": [
|
|
249
|
+
{
|
|
250
|
+
"var": "wave"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"function": "dimension",
|
|
254
|
+
"args": [
|
|
255
|
+
{
|
|
256
|
+
"function": "as_selected",
|
|
257
|
+
"args": [
|
|
258
|
+
{
|
|
259
|
+
"function": "multiple_dichotomy_from_conditions",
|
|
260
|
+
"args": [
|
|
261
|
+
[
|
|
262
|
+
{
|
|
263
|
+
"function": "==",
|
|
264
|
+
"args": [
|
|
265
|
+
{
|
|
266
|
+
"var": "MR",
|
|
267
|
+
"axes": [
|
|
268
|
+
"wave"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"value": 1.0
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"function": "==",
|
|
278
|
+
"args": [
|
|
279
|
+
{
|
|
280
|
+
"var": "MR",
|
|
281
|
+
"axes": [
|
|
282
|
+
"wave2"
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"value": 1.0
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
],
|
|
292
|
+
"references": {
|
|
293
|
+
"name": "_groups_expr",
|
|
294
|
+
"subreferences": [
|
|
295
|
+
{
|
|
296
|
+
"alias": "g1",
|
|
297
|
+
"name": "g1"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"alias": "g2",
|
|
301
|
+
"name": "g2"
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"alias": "_groups_expr"
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"value": "subvariables"
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"function": "dimension",
|
|
316
|
+
"args": [
|
|
317
|
+
{
|
|
318
|
+
"function": "as_selected",
|
|
319
|
+
"args": [
|
|
320
|
+
{
|
|
321
|
+
"function": "multiple_dichotomy_from_conditions",
|
|
322
|
+
"args": [
|
|
323
|
+
[
|
|
324
|
+
{
|
|
325
|
+
"function": "==",
|
|
326
|
+
"args": [
|
|
327
|
+
{
|
|
328
|
+
"var": "MR",
|
|
329
|
+
"axes": [
|
|
330
|
+
"wave"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"value": 1.0
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"function": "==",
|
|
340
|
+
"args": [
|
|
341
|
+
{
|
|
342
|
+
"var": "MR",
|
|
343
|
+
"axes": [
|
|
344
|
+
"wave2"
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"value": 1.0
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
}
|
|
352
|
+
]
|
|
353
|
+
],
|
|
354
|
+
"references": {
|
|
355
|
+
"name": "_groups_expr",
|
|
356
|
+
"subreferences": [
|
|
357
|
+
{
|
|
358
|
+
"alias": "g1",
|
|
359
|
+
"name": "g1"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"alias": "g2",
|
|
363
|
+
"name": "g2"
|
|
364
|
+
}
|
|
365
|
+
],
|
|
366
|
+
"alias": "_groups_expr"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"value": "categories"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
],
|
|
377
|
+
"measures": {
|
|
378
|
+
"count": {
|
|
379
|
+
"function": "cube_count",
|
|
380
|
+
"args": []
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"weight": null
|
|
384
|
+
},
|
|
385
|
+
"query_environment": {
|
|
386
|
+
"filter": []
|
|
387
|
+
}
|
|
388
|
+
}
|