Skip to main content

Helper methods compounding tasks, which are not directly covered in pandas. (Or I didn't found them.)

Project description

trashpanda

Coverage Status Build Status PyPi Python Versions Code style: black

trashpanda is a collection of helper methods composing tasks around pandas.DataFrames and Series. Either they are to specific (or I didn't found them).

trashpanda icon

Installing

Installing the latest release using pip is recommended.

$ pip install trashpanda

Usage

The api reference with all available methods can be found at https://trashpanda.readthedocs.io/en/latest/

Authors

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE file for details

Acknowledge

Changelog

This changelog is inspired by Keep a Changelog.

[1.0.0] - 2020-02-13

Added

  • License file
  • Additional tests to cover 100%.

[0.8b1]

Fixed

  • Unintentional sorting of columns in DataFrame related functions.

Added

  • Codecoverage with coverall, Travis-CI
  • makefile
  • Moved setup from setup.py to setup.cfg
  • tox.ini

[0.8b0] - 2020-01-08

Added

  • Function meld_along_columns with supporting functions get_unique_index_positions and remove_duplicated_indexes

Fixed

  • Requirements.txt and required packages for pip.

Removed

  • Future warnings in cut_series_after_max and cut_dataframe_after_max.

[0.7b0] - 2020-12-30

Added

  • Function find_index_of_value_in_series returns the index of the first occurrence of the nearest value towards a search value within a series.

[0.6b0] - 2020-12-21

Added

  • Function cut_before drops values of either DataFrames and Series before the cutting index.

Fixed

  • Bug in cut_after leading to ignore a short-cut.

[0.5b0] - 2020-12-17

Changed

  • Function cut_after now keeps first line if equal.

Removed

  • add_blank_rows_to_dataframe is replaced by add_blank_rows
  • cut_dataframe_after is replaced by cut_after

[0.4b0.post1] - 2020-12-01

Fixed

  • readthedocs issue

[0.4b0] - 2020-12-01

Fixed

  • Results of add_blank_rows_to_dataframe and cut_dataframe_after keep the index name.
  • Wrong definitions within the documentation.

Added

  • Functions cut_dataframe_after_max, cut_series_after_max, cut_after, add_blank_rows

Deprecated

  • Functions cut_dataframe_after and add_blank_rows_to_dataframe are replaced by cut_after and add_blank_rows

[0.3b0] - 2020-11-25

Added

  • Function cut_dataframe_after which returns a cut DataFrame with interpolated values at the cutting index.

Changed

  • Changed structure of sphinx documentation.

Removed

  • Function get_intersection_of_series was removed and replaced by get_intersection, which works for pandas.Series and pandas.DataFrame.

[0.2b0] - 2020-11-22

Added

  • Function add_blank_rows_to_dataframe for adding blank rows into a DataFrame.

[0.1b0.post1] - 2020-11-15

Added

  • Link to the documentation.

Deprecated

  • Function get_intersection_for_series will be removed in the next release.

[0.1b0] - 2020-11-15

Added

  • Function get_intersection as a replacement for get_intersection_of_series

Deprecated

  • Function get_intersection_for_series will be removed in the next release.

[0.0b1.post1] - 2020-11-13

Added

  • Link to Read-the-Docs documentation in README.md and setup.py

[0.0b1] - 2020-11-13

First release of trashpanda.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trashpanda-1.0.0.tar.gz (80.1 kB view hashes)

Uploaded Source

Built Distribution

trashpanda-1.0.0-py2.py3-none-any.whl (24.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page