Pandas Extras
Some functions on top of pandas.
Install Environment
For local development:
- Run
python -m pip install -U pipandpip install -U pip poetry - Run
poetry install. If you are facing issues installingmysqlclientorpsycopg2on Ubuntu, it's because you are missing some libraries. Please check their pages. Usually forpsycopg2, it'slibpq-devand formysqlclient, it'spython3-dev default-libmysqlclient-dev build-essential. Check the pages for more specific and accurate commands.
Testing
Run docker compose up then tox. Obviously you need docker and tox installed.
Generate Documentation Source Files
You should not have to do this but in case you want to generate the source ReStructuredText files yourself, here is how. Skip to the next section to simply generate html documentation locally.
Change to docs directory cd docs/. Run sphinx-quickstart. Choose y when it asks to seperate build and source directories.
Change to docs/source directory. In conf.py, add the following lines at the start of the script.
import os
import sys
sys.path.insert(0, os.path.abspath("../.."))
and save it. Add "sphinx.ext.autodoc", to the extensions list. Run python -m pip install -U sphinx_rtd_theme and set html_theme = "sphinx_rtd_theme" (or whatever theme you want).
In index.rst, add modules to toctree. The structure should look like this:
.. toctree::
:maxdepth: 2
:caption: Contents:
modules
Run the following to generate the source files.
poetry install --with docs
poetry run sphinx-apidoc -f -o source/ ../ ../tests/
Generating HTML Documentation
Change to docs/ using cd .. then run .\make clean and .\make html. Output should be built with no errors or warnings. You will get the html documenation in docs/build/html directory. Open index.html.
Release files for pd-extras 6.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pd_extras-6.1.4.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pd_extras-6.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.0 kB
Release files / pd_extras-6.1.4.tar.gz
| Download URL | pd_extras-6.1.4.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76effa6cee2f8b8acb1ccf96cd365111fed80d4748386b531208611df1581c61
|
|
BLAKE2b-256 checksum How to use checksums |
e7608f98dfccd23dbac6c557d21213d09a60a590bb2855611198621b3f86cfd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure
|
Release files / pd_extras-6.1.4-py3-none-any.whl
| Download URL | pd_extras-6.1.4-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c60256587c03de04a4812b87f8719ba3f3249a5915fefc36df03c18e695a438b
|
|
BLAKE2b-256 checksum How to use checksums |
171b0e01d5c7a3608cec25c502a5848161ed3846d0d8b7db948900242b582ceb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure
|