prince
Factor analysis in Python: PCA, CA, MCA, MFA, FAMD, GPA, PGA
Decision gist · record as of 2026-08-14
Yes. Prince is actively maintained, has no known vulnerabilities, installs with low friction, and provides a comprehensive suite of factor analysis methods under a permissive MIT license. It is well-tested against established implementations and suitable for exploratory data analysis workflows that need more than standard PCA.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a pure-Python wheel.
- Actively maintained as of 45 days ago with a revamp completed in 2022.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute Prince freely in commercial and private projects with minimal restrictions.
last release 2026-06-30 (45 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 139,821 downloads/mo, #11,288 on PyPI
Alternatives
Verify before relying
pip install prince
import prince
import pandas as pd
pca = prince.PCA(n_components=5)
pca = pca.fit(your_dataframe)
transformed = pca.transform(your_dataframe)- Whether supplementary rows/columns and row/column weights work reliably across all seven analysis methods.
- Performance characteristics on datasets larger than those shown in examples.
- Completeness of interactive plotting features when deployed outside Jupyter environments.
What it is and what it does
Prince is a Python library for multivariate exploratory data analysis that implements seven factor analysis methods: PCA, CA, MCA, MFA, FAMD, GPA, and PGA. It follows scikit-learn conventions, making it familiar to users of that ecosystem. The library was originally created in 2016 and underwent a major revamp in 2022 to improve robustness and feature coverage.
The package works with tabular data and supports advanced features like supplementary rows and columns, as well as row and column weights. It integrates with pandas for data handling and Altair for interactive visualization of results. Prince is tested against scikit-learn and FactoMineR (via rpy2) to ensure correctness, and PGA is validated against geomstats.
Use it for
- Reduce dimensionality of numerical datasets while preserving variance structure using PCA.
- Analyze relationships between categorical variables in contingency tables with CA or MCA.
- Explore mixed numerical and categorical data simultaneously using FAMD.
- Analyze multiple groups of related columns with MFA.
- Compare shapes across multiple datasets using GPA.
- Perform dimensionality reduction on data constrained to a manifold using PGA.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Prince is actively maintained, has no known vulnerabilities, installs with low friction, and provides a comprehensive suite of factor analysis methods under a permissive MIT license. It is well-tested against established implementations and suitable for exploratory data analysis workflows that need more than standard PCA.
Install
prince on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 45 days ago with a revamp completed in 2022. Requires Python 3.10 or later.
Requires Python 3.10 or later.
License in practice
MIT license is permissive; you can use, modify, and distribute Prince freely in commercial and private projects with minimal restrictions.
Quickstart
pip install prince
import prince
import pandas as pd
pca = prince.PCA(n_components=5)
pca = pca.fit(your_dataframe)
transformed = pca.transform(your_dataframe)
Verify before relying
- Whether supplementary rows/columns and row/column weights work reliably across all seven analysis methods.
- Performance characteristics on datasets larger than those shown in examples.
- Completeness of interactive plotting features when deployed outside Jupyter environments.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesscikit-learnpandasaltairtyping-extensions |
| Maintenance | Actively maintained 45 days since the last release |
| First released | |
| Downloads | 139,821 / month, #11,288 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: prince-0.20.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “principal component analysis python”
- princePrince implements multivariate exploratory data analysis methods…
- msrestazureProvides HTTP client runtime and Azure authentication primitives for…
- zope.securityProvides a generic security framework for implementing access control…
Give your agent the search over MCP, or paste the wish link into any chat.
More Information Analysis packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.
NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.
Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.
Install it if you use Snowflake and want to process data without moving it to your application layer.
See also umap-learn · copulas · aimsim-core · percentify · esda · kmodes · tabmat · gtsam · ucimlrepo · libcuml-cu12