A simple Python package for isonymy studies from population surnames
Project description
isonymic: estructura demográfica a partir de apellidos
El paquete isonymic
contiene las funciones básicas para realizar estudios isonímicos a partir de los apellidos de las personas.
Permite calcular rápidamente indicadores isonímicos tales como el coeficiente de endogamia, alpha de Fisher, indicador A, indicador B, etc.
También permite obtener frecuencias de apellidos y generar gráficos log-log fácilmente.
Modo de uso
Debe pasar una Serie de pandas con los apellidos de la población:
>>> import pandas
>>> import isonymic
>>> surnames = pandas.Series(["Gonzalez", "Gonzalez", "Gonzalez", "Gonzalez", "Gonzalez"])
>>> print(isonymic.get_isonymy(surnames))
1.0
Documentation
La documentación en línea se encuentra disponible en Isonymic Package en Read the Docs.
Dependencies
Isonymic soporta Python 3.6+.
Su instalación requiere numpy, pandas, y matplotlib. Algunas funcionalidades avanzadas necesitan esda.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file isonymic-0.0.5.tar.gz
.
File metadata
- Download URL: isonymic-0.0.5.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491e8904b50d9dcd295b7c7dfdab38a53536ce5302b50917eed631b73f408249 |
|
MD5 | f9d0c3224f5cabb9cb5bef8406c53b10 |
|
BLAKE2b-256 | bc66279aa8f65851a28a7147b83c29256fec1aa046eda7e25e37265fc9fb83fb |
File details
Details for the file isonymic-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: isonymic-0.0.5-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fd6aa7f2ae4daaf15ce76aebe0fc7ae8c7ae4d7200fc50f383231a8617e5c8e |
|
MD5 | 1b82159144d122be111265e5de764978 |
|
BLAKE2b-256 | ab670971ebd8c5937f8a9c950c6939fef9ba4151371977385d12cc195df2fc6b |