MaxHalford/prince
:crown: Multivariate exploratory data analysis in Python — PCA, CA, MCA, MFA, FAMD, GPA observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 93
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3602
- days_rel: n/a
- days_push: 43
- n_releases_24m: 0
Adoption not part of the score
1479 stars · 194 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Prince is a Python library for multivariate exploratory data analysis, implementing PCA, CA, MCA, MFA, FAMD, GPA, and PGA with a scikit-learn-style API. It is built on pandas and uses Altair for plotting, with correctness tested against scikit-learn and R's FactoMineR.
Use cases
- run principal component analysis on a pandas dataframe
- do multiple correspondence analysis on categorical survey data
- analyze mixed numerical and categorical data with FAMD
- perform multiple factor analysis on grouped columns
- compute correspondence analysis of a contingency table
- compare shapes with generalized Procrustes analysis
- plot PCA component charts in Python
When to choose
- you need FactoMineR-style factor analysis methods in Python
- you want a scikit-learn-like fit/transform API for dimensionality reduction
- you work with pandas dataframes and want built-in Altair visualizations
- you need MCA or FAMD, which scikit-learn lacks
When to avoid
- you need deep learning or neural dimensionality reduction like autoencoders
- you need general-purpose machine learning pipelines beyond exploratory analysis
- you need big-data distributed PCA beyond memory-sized dataframes
Facets
library · maturity stable
data-science machine-learning data-visualization data-science data-visualization python pca correspondence-analysis mca mfa famd svd factor-analysis scikit-learn-api exploratory-data-analysis pandas statistics
2 sources
- readme: https://github.com/MaxHalford/prince · fetched 2026-08-28 · f0c60c90aab0
- homepage: https://maxhalford.github.io/prince · fetched 2026-08-29 · 79d6d05f45ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| MaxHalford/prince | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="MaxHalford/prince")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem