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.4.tar.gz
.
File metadata
- Download URL: isonymic-0.0.4.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 | 495bbafb87c46c1079c4320f99795d3a3b509fd7aaadd5725c9dc58bbcaa0f1f |
|
MD5 | d6caa0c659a015d1a46672852678ce43 |
|
BLAKE2b-256 | 69a56d5eed07e7873e51e8c410be52ed16d0775c4a2cd2f2f8a111432dc161c9 |
File details
Details for the file isonymic-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: isonymic-0.0.4-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 | 6c3982815e1653b074a4e4800075f73b1fca98bb43e5eed52e1368e62f02535a |
|
MD5 | 1dfa1ec7a1af7b4dbc78a57596764c9e |
|
BLAKE2b-256 | d36b534db48c4968879fa75f2451f6822a6426c2f3ad0cbd9186bd8c6217201b |