{ "cells": [ { "cell_type": "markdown", "id": "dfd33995", "metadata": {}, "source": [ "# Good Data Practices\n", "\n", "\n", "\n", "Of course, in the process of working with `gerrychain`, it is inevitable\n", "that you will want to examine some data. While there are a lot of great\n", "ways to store and deal with data, there are some ways that we have found\n", "more helpful than others which we would like to share here.\n", "\n", "> Important\n", ">\n", "> In general, the techniques described here are not appropriate\n", "> for storing the entire Markov chain of redistricting plans. Instead, the\n", "> methods described below are primarily aimed at the collection and analysis\n", "> of statistical information about each of the partitions in the chain.\n", ">\n", "> In the event that you would like to store each partition in the chain in\n", "> its entirety, we would recommend that you make use of our\n", "> [Binary-Ensemble](https://binary-ensemble.readthedocs.io) package." ] }, { "cell_type": "markdown", "id": "6390c8e6", "metadata": {}, "source": [ "## Writing Data to JSONL\n", "\n", "