Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
firanka
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public
firanka
Commits
088eaf52
Commit
088eaf52
authored
7 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
docs
parent
f21a817b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-0
7 additions, 0 deletions
README.md
with
7 additions
and
0 deletions
README.md
+
7
−
0
View file @
088eaf52
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment