Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
venaturum committed Oct 9, 2021
1 parent 3320767 commit 54e41e5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="https://github.com/staircase-dev/piso"><img src="https://github.com/staircase-dev/piso/blob/master/docs/img/piso_transparent.svg" title="piso logo" alt="piso logo"></a></p>
<p align="center"><a href="https://github.com/staircase-dev/piso"><img src="https://github.com/staircase-dev/piso/blob/master/docs/img/piso_social_transparent.svg" title="piso logo" alt="piso logo"></a></p>


<p align="center">
Expand All @@ -14,8 +14,6 @@
<img src="https://readthedocs.org/projects/piso/badge/?version=latest" /></a>
</p>



# piso - pandas interval set operations

**piso** exists to bring set operations (union, intersection, difference + more) to [pandas'](https://pandas.pydata.org/) interval classes, specifically
Expand Down Expand Up @@ -47,7 +45,6 @@ A small [case study](https://piso.readthedocs.io/en/latest/user_guide/calendar.h

Visit [https://piso.readthedocs.io](https://piso.readthedocs.io/) for the documentation.


## Installation

`piso` can be installed from PyPI or Anaconda.
Expand All @@ -64,7 +61,6 @@ To install the latest version through conda-forge::
conda install -c conda-forge piso`
```


## Versioning

[SemVer](http://semver.org/) is used by piso for versioning releases. For versions available, see the [tags on this repository](https://github.com/staircase-dev/piso/tags).
Expand All @@ -74,7 +70,6 @@ conda install -c conda-forge piso`

This project is licensed under the [MIT License](https://github.com/staircase-dev/piso/blob/master/LICENSE)


## Acknowledgments

Currently, piso is a pure-python implentation which relies heavily on [staircase](https://www.staircase.dev) and [pandas](https://pandas.pydata.org/). It is clearly designed to operate as part of the *pandas ecosystem*. The colours for the piso logo have been assimilated from pandas as a homage, and is not to intended to imply and affiliation with, or endorsement by, pandas.
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
html_theme = "pydata_sphinx_theme"

html_theme_options = {
# "google_analytics_id": "UA-27880019-2",
"google_analytics_id": "UA-65430466-3",
"github_url": "https://github.com/staircase-dev/piso",
}

Expand Down
1 change: 0 additions & 1 deletion piso/_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class Appender:

"""
A function decorator that will append an addendum to the docstring
of the target function.
Expand Down
8 changes: 8 additions & 0 deletions piso/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ def decorator(accessor):


class ArrayAccessor:
"""
The piso accessor for :class:`pandas.arrays.IntervalArray` and :class:`pandas.IntervalIndex`
Parameters
----------
_interval_array : :class:`pandas.arrays.IntervalArray` or :class:`pandas.IntervalIndex`
"""

def __init__(self, _interval_array):
self._interval_array = _interval_array

Expand Down

0 comments on commit 54e41e5

Please sign in to comment.