Skip to main content

Pandas Utility

GitHub Build Status Codacy Badge Python PyPI PyPI - Downloads saythanks

Some useful Pandas utility functions.

Installation

To install Pandas Utility, run this command in your terminal:

    pip install pandas_utility

This is the preferred method to install Pandas Utility, as it will always install the most recent stable release.

If you don't have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for Pandas Utility can be downloaded from the Github repo.

You can either clone the public repository:

git clone git://github.com/mmphego/pandas_utility

Or download the tarball:

curl  -OL https://github.com/mmphego/pandas_utility/tarball/master

Once you have a copy of the source, you can install it with:

pip install -U .

Usage

In [1]: from pandas_utility import PandasUtilities as utils
   ...:
   ...: df = utils.create_random_df(3, 5)

In [2]: df
Out[2]:
          0         1         2         3         4
0  0.056019  0.608052  0.434670  0.712330  0.602797
1  0.050986  0.458700  0.899288  0.783495  0.683170
2  0.232940  0.707126  0.639882  0.675283  0.793030

In [3]: df = utils.rename_cols(df, new_names=['col A', 'col B', 'col C', 'col D', 'col E'])

In [4]: df
Out[4]:
      col_A     col_B     col_C     col_D     col_E
0  0.056019  0.608052  0.434670  0.712330  0.602797
1  0.050986  0.458700  0.899288  0.783495  0.683170
2  0.232940  0.707126  0.639882  0.675283  0.793030

Oh, Thanks!

By the way... Click if you'd like to saythanks... :) else Star it.

✨🍰✨

Feedback

Feel free to fork it or send me PR to improve it.

Credits

This package was created with Cookiecutter and the mmphego/cookiecutter-python-package project template.

Metadata

Release files for pandas-utility 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandas-utility 0.1.4
File Size Uploaded Provenance Actions
pandas_utility-0.1.4.tar.gz 7.8 kB Without provenance Details for pandas_utility-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pandas-utility 0.1.4
File Interpreter ABI Platform Actions
pandas_utility-0.1.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for pandas_utility-0.1.4-py2.py3-none-any.whl

Total release size: 15.0 kB

Release files / pandas_utility-0.1.4.tar.gz

Download URL pandas_utility-0.1.4.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac15b561335f9c8e6804e620bb09264374ba6741618313632bd1920991bf9a9
BLAKE2b-256 checksum
How to use checksums
0e2eab61419b971b227033a6a25587350ded5eafbfb0ec9a5e19c5f21adb4023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

Release files / pandas_utility-0.1.4-py2.py3-none-any.whl

Download URL pandas_utility-0.1.4-py2.py3-none-any.whl
Size 7.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3d505a7f8fc7e191455ef150645856b52ad04ca1b68108d5121452621705330f
BLAKE2b-256 checksum
How to use checksums
d031cdc650f11701e348fe0d3df18e779f158f58252ddde2b95c6f5e8847f980
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.7

Security for pandas-utility 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page