Skip to main content

simpledf

An easier to use apply function for pandas groupby operations involving a custom function. See Jupyter notebook example that verifies the complexity of selection sort.

Installation

This package exists on pypi. You can install it using pip:

pip install simpledf

Demo

Here is a quick demo of how this package works:

>>> import simpledf as sdf
>>> import pandas as pd
>>> import numpy as np
>>> x = pd.DataFrame({'Data': [1, 2, 3], 'Group': ['A', 'B', 'B']})
>>> def f(y):
        y['Mean'] = np.mean(y['Data'].values)
        return y

>>> z = sdf.apply(x.groupby('Group'), f)
>>> print z

Metadata

Release files for simpledf 0.12

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

Source distribution (sdist)

Source distribution for simpledf 0.12
File Size Uploaded Provenance Actions
simpledf-0.12.tar.gz 1.8 kB Without provenance Details for simpledf-0.12.tar.gz

Release files / simpledf-0.12.tar.gz

Download URL simpledf-0.12.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
81eec9d32cd66894b359ae7df84bdb3ef9360163140942807c4fecefe86b7c65
BLAKE2b-256 checksum
How to use checksums
efedb09f4545fdaede939106ff26b0e454dd96973c711f93f4223aa2a64a9347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for simpledf 0.12

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.

Release history Release notifications | RSS feed

This release

0.12 This release

1 release file No provenance

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