saturn·

economic gini by county

source /home/coolhand/datasets/us-inequality-atlas/economic/gini_by_county.csv 3,222 rows 4 columns profiled 2026-05-01 raw JSON static .html .ipynb Report Notebook

Reading

dataset summary · high confidence anthropic:claude-opus-4-7

This dataset contains 3,222 US county-level records with four fields: county name, FIPS code, Gini index, and state. The Gini index is the most analytically interesting column, with a mean of 0.448 and a max of 0.721, plus 56 outliers worth investigating for unusually high local inequality. The state distribution is broad (52 unique values), led by Texas (254 counties) and Georgia (159), so any state-level comparison should account for that imbalance. County names show a 39% duplicate rate, reflecting common names like Washington, Jefferson, and Franklin County that recur across states.

citing: row_count · column_count · columns.gini_index.stats · columns.state.top_values · columns.county_name.stats · columns.county_name.top_values

Schema

4 columns
Per-column summary. Click column name to jump to its detail.
Alerts
fips numeric 0.0% 3,222
county_name text 0.0% 1,960
short_text duplicates
state categorical 0.0% 52
gini_index numeric 0.0% 1,317

fips

numeric identifier
This is the U.S. county FIPS code: a 5-digit numeric identifier where the first two digits encode state and the last three encode county. With 3222 unique values across 3222 rows, no nulls, and a range from 1001 to 72153 spanning the standard FIPS state prefixes, every row corresponds to a distinct county. Distribution stats (mean 31377, std 16299, near-zero skew) are artifacts of the prefix encoding and not meaningful as a numeric feature. Treatment: Treat as a categorical key; left-join on this to bring in county-level attributes rather than using as a numeric feature. high · anthropic:claude-opus-4-7
n
3,222
nulls
0 (0.0%)
unique
3,222
min
1,001
max
72,153
mean
3.138e+04
median
30,022
std
1.63e+04
q1
1.903e+04
q3
4.61e+04
iqr
27,075
skew
0.1574
kurtosis
-0.6314
n_outliers
0
outlier_rate
0
zero_rate
0

county_name

text metadata short_text duplicates
This column holds US county-level place names: nearly every value ends in 'County' (2999 of 3222 rows), with smaller contingents of 'Parish' (64, Louisiana), 'Municipio' (78, Puerto Rico), and 'City' (47). Heavy duplication is expected and present — 39.2% duplicate rate with 1262 repeats — because common names like Washington, Jefferson, and Franklin County recur across states. Lengths are tight (10–46 chars, mean 14.2, ~2 words) and there are no nulls or empties. Treatment: Pair with a state column to form a unique geographic key before joining or grouping. high · anthropic:claude-opus-4-7
n
3,222
nulls
0 (0.0%)
unique
1,960
len_min
10
len_max
46
len_mean
14.17
len_median
14
len_p95
18
word_mean
2.083
word_median
2
n_empty
0
n_duplicates
1,262
duplicate_rate
0.3917
vocab_size
1,963
readability_flesch_mean
33.36
emoji_rate
0
url_rate
0
one_word_rate
0
allcaps_rate
0
boilerplate_rate
0

state

categorical feature
This is a US state code field with 52 distinct values across 3222 rows and no nulls, consistent with the 50 states plus DC and likely a territory. Distribution closely tracks county counts: TX leads at 254 (7.88%), followed by GA (159) and VA (133), and entropy is high at 5.31 (ratio 0.93), indicating broad spread rather than concentration. The 52-value cardinality is the only mild surprise—worth confirming whether the extras are DC, PR, or stray codes. Treatment: One-hot or target-encode for modelling; verify the two codes beyond the 50 states. high · anthropic:claude-opus-4-7
n
3,222
nulls
0 (0.0%)
unique
52
top_value
TX
top_rate
0.07883
cardinality
52
entropy
5.314
entropy_ratio
0.9322

gini_index

numeric feature
Numeric column holding Gini index values, all within the plausible 0.2744–0.721 range with no nulls or zeros across 3222 rows. The distribution is tight (IQR 0.049, std 0.038) and centred near 0.448, but a mild right skew (0.50) and 56 high-end outliers (1.7%) suggest a handful of unusually unequal observations. Treatment: Use as-is as a numeric feature; consider winsorising the upper outliers if downstream models are sensitive. high · anthropic:claude-opus-4-7
n
3,222
nulls
0 (0.0%)
unique
1,317
min
0.2744
max
0.721
mean
0.4481
median
0.4457
std
0.03841
q1
0.422
q3
0.4714
iqr
0.04938
skew
0.4999
kurtosis
1.634
n_outliers
56
outlier_rate
0.01738
zero_rate
0