{
  "name": "Countplot audit, selection and normalization settings",
  "description": "Original compilation of documented pandas and Seaborn settings that distinguish a missing-value audit, row selection and normalization of displayed counts. Compiled from the official API references; no synthetic study counts are included.",
  "page": "https://casrai.org/guides/sns-countplot",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T13:31:53Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Operation",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented setting",
      "unit": "",
      "description": ""
    },
    {
      "name": "Effect",
      "unit": "",
      "description": ""
    },
    {
      "name": "Official reference",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Operation": "Audit unassigned categories",
      "Documented setting": "Series.value_counts(dropna=False)",
      "Effect": "Includes missing values in the frequency output.",
      "Official reference": "https://pandas.pydata.org/docs/reference/api/pandas.Series.value_counts.html"
    },
    {
      "Operation": "Select rows for named variables",
      "Documented setting": "DataFrame.dropna(subset=[column labels])",
      "Effect": "Restricts the missing-value check to the named columns; default row removal applies if any checked value is missing.",
      "Official reference": "https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.dropna.html"
    },
    {
      "Operation": "Display absolute frequencies",
      "Documented setting": "seaborn.countplot(stat='count')",
      "Effect": "Shows counts of observations in categorical bins.",
      "Official reference": "https://seaborn.pydata.org/generated/seaborn.countplot.html"
    },
    {
      "Operation": "Display whole-plot shares",
      "Documented setting": "seaborn.countplot(stat='percent')",
      "Effect": "Normalizes bar heights to sum to 100 across the plot.",
      "Official reference": "https://seaborn.pydata.org/generated/seaborn.countplot.html"
    },
    {
      "Operation": "Audit relative frequencies",
      "Documented setting": "Series.value_counts(normalize=True)",
      "Effect": "Returns relative frequencies rather than absolute counts; missing values are excluded by default.",
      "Official reference": "https://pandas.pydata.org/docs/reference/api/pandas.Series.value_counts.html"
    }
  ],
  "sources": [
    {
      "title": "Seaborn countplot API reference",
      "url": "https://seaborn.pydata.org/generated/seaborn.countplot.html",
      "accessed": "2026-11-16"
    },
    {
      "title": "pandas Series.value_counts",
      "url": "https://pandas.pydata.org/docs/reference/api/pandas.Series.value_counts.html",
      "accessed": "2026-11-16"
    },
    {
      "title": "pandas DataFrame.dropna",
      "url": "https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.dropna.html",
      "accessed": "2026-11-16"
    }
  ]
}