Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
persist-credentials: false
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
persist-credentials: false

- name: Run zizmor
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
persona: pedantic
2 changes: 0 additions & 2 deletions docs/data-processing/apis/fastapi/example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Erstellt die Datei :file:`main.py` mit diesem Inhalt:

from fastapi import FastAPI


app = FastAPI()


Expand Down Expand Up @@ -81,7 +80,6 @@ zu erhalten:

from fastapi import FastAPI


app = FastAPI()


Expand Down
1 change: 0 additions & 1 deletion docs/data-processing/apis/grpc/accounts_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: BSD-3-Clause

import logging

from concurrent import futures

import accounts_pb2 as accounts_messages
Expand Down
1 change: 0 additions & 1 deletion docs/data-processing/apis/grpc/tests/test_accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import grpc
import pytest

from accounts_pb2 import CreateAccountRequest, GetAccountsRequest


Expand Down
2 changes: 0 additions & 2 deletions docs/data-processing/postgresql/sqlalchemy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ Datenbankverbindung

from sqlalchemy import create_engine


engine = create_engine("postgresql:///example", echo=True)

Datenmodell
Expand All @@ -56,7 +55,6 @@ Datenmodell
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relationship


Base = declarative_base()


Expand Down
1 change: 0 additions & 1 deletion docs/data-processing/serialisation-formats/toml/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ Beispiel

import toml


config = toml.load("pyproject.toml")

.. seealso::
Expand Down
1 change: 0 additions & 1 deletion docs/performance/ds_kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# SPDX-License-Identifier: BSD-3-Clause

import numpy as np

from dask import array as da
from dask import dataframe as dd

Expand Down
3 changes: 0 additions & 3 deletions docs/performance/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ Beispieldaten können wir uns erstellen mit:

from sklearn.datasets import make_blobs


points, labels_true = make_blobs(
n_samples=1000, centers=3, random_state=0, cluster_std=0.60
)
Expand Down Expand Up @@ -136,7 +135,6 @@ k-Means-Algorithmus gibt es sogar gleich zwei Implementierungen:

from sklearn.cluster import KMeans


KMeans(10).fit_predict(points)

* `dask_ml.cluster.KMeans
Expand All @@ -146,7 +144,6 @@ k-Means-Algorithmus gibt es sogar gleich zwei Implementierungen:

from dask_ml.cluster import KMeans


KMeans(10).fit(points).predict(points)

Gegen diese bestehenden Lösungen könnte bestenfalls sprechen, dass sie einen
Expand Down
1 change: 0 additions & 1 deletion docs/performance/sp_kmeans.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import numpy as np
import pandas as pd

from scipy.spatial import cKDTree


Expand Down
Loading