Skip to content
Snippets Groups Projects
Commit 088eaf52 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

docs

parent f21a817b
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,11 @@ slice them and so on. ...@@ -33,6 +33,11 @@ slice them and so on.
Can be imported from _sai.series_. A generic abstract superclass for series - Can be imported from _sai.series_. A generic abstract superclass for series -
`Series` can be imported for checking if given object is a series. `Series` can be imported for checking if given object is a series.
Series are immutable, but non-hashable.
Read the source code of the [base class](firanka/series/series.py#L11) to get
to know more about series operations.
### DiscreteSeries ### DiscreteSeries
To use a _DiscreteSeries_ you must give it a set of data to work with. These To use a _DiscreteSeries_ you must give it a set of data to work with. These
...@@ -115,6 +120,8 @@ Range's are immutable and hashable. They can be sliced: ...@@ -115,6 +120,8 @@ Range's are immutable and hashable. They can be sliced:
Range('<-5;5>')[0:] == Range('<0;5>') Range('<-5;5>')[0:] == Range('<0;5>')
``` ```
Slices work as a both-sides-closed range if both sides are shown!
You can check whether a range contains a point You can check whether a range contains a point
```python ```python
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment