Skip to content

Commit

Permalink
Merge branch 'main' into ben/no-pushodwn
Browse files Browse the repository at this point in the history
  • Loading branch information
bjchambers authored Sep 14, 2023
2 parents 71de05b + d2118ee commit 7f9741c
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
10 changes: 5 additions & 5 deletions python/docs/source/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ In comparison to a timeseries which often contains simple values (e.g., numeric
Getting started with Timestreams is as simple as `pip` installing the Python library, loading some data and running a query.

```python
import timestreams as t
import kaskada as kd

# Read data from a Parquet file.
data = t.sources.Parquet.from_file(
"path_to_file.parquet",
time = "time",
key = "user")
data = kd.sources.Parquet(
path = "path_to_file.parquet",
time_column = "time",
key_column = "user")
# Get the count of events associated with each user over time, as a dataframe.
data.count().to_pandas()
```
Expand Down
2 changes: 1 addition & 1 deletion python/docs/source/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ We suggest using 3.11 or newer, since that provides more precise error locations

```{code-block} bash
:caption: Installing Kaskada
pip install kaskada>=0.6.0-a.0
pip install kaskada>=0.6.0-a.3
```

```{warning}
Expand Down
6 changes: 3 additions & 3 deletions python/docs/source/guide/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ This shows the bare minimum needed to get started with Kaskada.
## Install

Install the latest version.
This uses `kaskdaa>=0.6.0-a.0` to ensure the pre-release version is installed.
This uses `kaskada>=0.6.0-a.3` to ensure the pre-release version is installed.

```
pip install kaskada>=0.6.0-a.0
pip install kaskada>=0.6.0-a.3
```

See the section on [installation](./installation.md) to learn more about installing Kaskada.
Expand All @@ -44,4 +44,4 @@ content = "\n".join(
)
source = await kd.sources.CsvString.create(content, time_column="time", key_column="key")
source.select("m", "n").extend({"sum_m": source.col("m").sum() }).to_pandas()
```
```
2 changes: 1 addition & 1 deletion python/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@ def _stripwarnings(lines: Iterable[str]) -> Iterator[str]:
path = session.cache_dir / "requirements.txt"
path.write_text(text)

return path
return path
1 change: 0 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ python = ">=3.9,<4.0"
pyarrow = "^12.0.1"
typing-extensions = "^4.7.1"
plotly = {version = "^5.16.1", optional = true}
flake8 = "^6.1.0"

[tool.poetry.extras]
plot = ["plotly"]
Expand Down
3 changes: 0 additions & 3 deletions python/requirements-dev.txt

This file was deleted.

0 comments on commit 7f9741c

Please sign in to comment.