Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions topic/timeseries/dask-weather-data-import.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"source": [
"# How to Build Time Series Applications in CrateDB\n",
"\n",
"This notebook guides you through an example of how to batch import \n",
"This notebook guides you through an example of how to import and work with\n",
"time series data in CrateDB. It uses Dask to import data into CrateDB.\n",
"Dask is a framework to parallelize operations on pandas Dataframes.\n",
"\n",
Expand Down Expand Up @@ -65,9 +65,9 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e0649e64",
"id": "a31d75fa072055fe",
"metadata": {
"scrolled": true
"collapsed": false
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -111,17 +111,6 @@
{
"cell_type": "code",
"execution_count": 3,
"id": "8fcc014a",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Dataset URL: https://www.kaggle.com/datasets/guillemservera/global-daily-climate-data\n"
]
}
],
"source": [
"from pueblo.util.environ import getenvpass\n",
"from cratedb_toolkit.datasets import load_dataset\n",
Expand Down
4 changes: 2 additions & 2 deletions topic/timeseries/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cratedb-toolkit[datasets]==0.0.14
refinitiv-data<1.7
pandas==1.*
pandas==2.0.*
pycaret==3.3.2
pydantic<2
sqlalchemy==1.*
sqlalchemy==2.0.*
sqlalchemy-cratedb==0.37.0
3 changes: 3 additions & 0 deletions topic/timeseries/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ def test_notebook(notebook):
raise pytest.skip(f"Kaggle dataset can not be tested "
f"without authentication: {notebook.name}")

if notebook.name in ["exploratory_data_analysis.ipynb", "time-series-decomposition.ipynb"]:
raise pytest.skip(f"Notebook is not compatible with pandas 2.x: {notebook.name}")

with testbook(notebook) as tb:
tb.execute()