{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "dc021ba9", "metadata": { "ExecuteTime": { "end_time": "2023-02-09T05:12:29.116959Z", "start_time": "2023-02-09T05:12:27.164520Z" } }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "0.2.2\n" ] } ], "source": [ "import pandas as pd\n", "import forestplot as fp\n", "print(fp.__version__)" ] }, { "cell_type": "markdown", "id": "0414c2f2", "metadata": {}, "source": [ "## Table headers don't work as expected with 6 (or fewer) rows of data \n", "See issue [#52](https://github.com/LSYS/forestplot/issues/52)" ] }, { "cell_type": "code", "execution_count": 2, "id": "3679298e", "metadata": { "ExecuteTime": { "end_time": "2023-02-09T05:12:29.575792Z", "start_time": "2023-02-09T05:12:29.117960Z" } }, "outputs": [ { "data": { "text/html": [ "
\n", " | n | \n", "r | \n", "CI95% | \n", "p-val | \n", "BF10 | \n", "power | \n", "var | \n", "hl | \n", "ll | \n", "moerror | \n", "group | \n", "label | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "706 | \n", "0.090373 | \n", "[0.02 0.16] | \n", "0.016309 | \n", "0.839 | \n", "0.67 | \n", "age | \n", "0.16 | \n", "0.02 | \n", "0.069627 | \n", "age | \n", "in years | \n", "
1 | \n", "706 | \n", "0.048081 | \n", "[-0.03 0.12] | \n", "0.201948 | \n", "0.106 | \n", "0.25 | \n", "clerical | \n", "0.12 | \n", "-0.03 | \n", "0.071919 | \n", "occupation | \n", "=1 if clerical worker | \n", "
2 | \n", "706 | \n", "0.041229 | \n", "[-0.03 0.11] | \n", "0.273948 | \n", "0.086 | \n", "0.19 | \n", "construc | \n", "0.11 | \n", "-0.03 | \n", "0.068771 | \n", "occupation | \n", "=1 if construction worker | \n", "