Skip to content

Commit

Permalink
address comments in code ref home page PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ianspektor committed Jun 19, 2023
1 parent a806e21 commit a91bd56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs/src/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Check the index on the left for a more detailed description of any symbol.
| ----------------------------------------- | -------------------------------------------------------------------------------------- |
| [`tp.evaluate()`][temporian.evaluate] | Evaluates [`Nodes`][temporian.Node] on [`EventSets`][temporian.EventSet]. |
| [`tp.plot()`][temporian.plot] | Plots [`EventSets`][temporian.EventSet]. |
| [`tp.event_set()`][temporian.event_set] | Creates an [`EventSet`][temporian.EventSet] from arrays (list, numpy, pandas). |
| [`tp.event_set()`][temporian.event_set] | Creates an [`EventSet`][temporian.EventSet] from arrays (lists, NumPy, Pandas Series.) |
| [`tp.input_node()`][temporian.input_node] | Creates an input [`Node`][temporian.Node], that can be used to feed data into a graph. |

## Input/output
Expand Down Expand Up @@ -60,11 +60,11 @@ Check the index on the left for a more detailed description of any symbol.

### Binary operators

| Symbols | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| [`tp.add()`][temporian.add] [`tp.subtract()`][temporian.subtract] [`tp.multiply()`][temporian.multiply] [`tp.divide()`][temporian.divide] [`tp.floordiv()`][temporian.floordiv] [`tp.modulo()`][temporian.modulo] [`tp.power()`][temporian.power] | Compute an arithmetic binary operation between two [`Nodes`][temporian.Node]. |
| [`tp.equal()`][temporian.equal] [`tp.not_equal()`][temporian.not_equal] [`tp.greater()`][temporian.greater] [`tp.greater_equal()`][temporian.greater_equal] [`tp.less()`][temporian.less] [`tp.less_equal()`][temporian.less_equal] | Compute a relational binary operator between two [`Nodes`][temporian.Node]. |
| [`tp.logical_and()`][temporian.logical_and] [`tp.logical_or()`][temporian.logical_or] [`tp.logical_xor()`][temporian.logical_xor] | Compute a logical binary operation between two [`Nodes`][temporian.Node]. |
| Symbols | Description |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [`tp.add()`][temporian.add] [`tp.subtract()`][temporian.subtract] [`tp.multiply()`][temporian.multiply] [`tp.divide()`][temporian.divide] [`tp.floordiv()`][temporian.floordiv] [`tp.modulo()`][temporian.modulo] [`tp.power()`][temporian.power] | Compute an arithmetic binary operation between two [`Nodes`][temporian.Node]. Aliases for `+`, `-`, `\*`, `/`, etc. |
| [`tp.equal()`][temporian.equal] [`tp.not_equal()`][temporian.not_equal] [`tp.greater()`][temporian.greater] [`tp.greater_equal()`][temporian.greater_equal] [`tp.less()`][temporian.less] [`tp.less_equal()`][temporian.less_equal] | Compute a relational binary operator between two [`Nodes`][temporian.Node]. |
| [`tp.logical_and()`][temporian.logical_and] [`tp.logical_or()`][temporian.logical_or] [`tp.logical_xor()`][temporian.logical_xor] | Compute a logical binary operation between two [`Nodes`][temporian.Node]. |

### Unary operators

Expand Down
3 changes: 2 additions & 1 deletion temporian/implementation/numpy/data/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def event_set(
is_unix_timestamp: Optional[bool] = None,
same_sampling_as: Optional[EventSet] = None,
) -> EventSet:
"""Creates an event set from arrays (list, numpy, pandas).
"""Creates an [`EventSet`][temporian.EventSet] from arrays (lists, NumPy,
Pandas Series.)
Usage examples:
Expand Down

0 comments on commit a91bd56

Please sign in to comment.