Skip to content

Commit e06e44c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 89d271f commit e06e44c

8 files changed

Lines changed: 0 additions & 12 deletions

File tree

docs/data-processing/apis/fastapi/example.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Erstellt die Datei :file:`main.py` mit diesem Inhalt:
1616
1717
from fastapi import FastAPI
1818
19-
2019
app = FastAPI()
2120
2221
@@ -81,7 +80,6 @@ zu erhalten:
8180
8281
from fastapi import FastAPI
8382
84-
8583
app = FastAPI()
8684
8785

docs/data-processing/apis/grpc/accounts_server.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# SPDX-License-Identifier: BSD-3-Clause
44

55
import logging
6-
76
from concurrent import futures
87

98
import accounts_pb2 as accounts_messages

docs/data-processing/apis/grpc/tests/test_accounts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import grpc
88
import pytest
9-
109
from accounts_pb2 import CreateAccountRequest, GetAccountsRequest
1110

1211

docs/data-processing/postgresql/sqlalchemy.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Datenbankverbindung
4444
4545
from sqlalchemy import create_engine
4646
47-
4847
engine = create_engine("postgresql:///example", echo=True)
4948
5049
Datenmodell
@@ -56,7 +55,6 @@ Datenmodell
5655
from sqlalchemy.ext.declarative import declarative_base
5756
from sqlalchemy.orm import relationship
5857
59-
6058
Base = declarative_base()
6159
6260

docs/data-processing/serialisation-formats/toml/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ Beispiel
6666
6767
import toml
6868
69-
7069
config = toml.load("pyproject.toml")
7170
7271
.. seealso::

docs/performance/ds_kmeans.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# SPDX-License-Identifier: BSD-3-Clause
44

55
import numpy as np
6-
76
from dask import array as da
87
from dask import dataframe as dd
98

docs/performance/index.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Beispieldaten können wir uns erstellen mit:
5858
5959
from sklearn.datasets import make_blobs
6060
61-
6261
points, labels_true = make_blobs(
6362
n_samples=1000, centers=3, random_state=0, cluster_std=0.60
6463
)
@@ -136,7 +135,6 @@ k-Means-Algorithmus gibt es sogar gleich zwei Implementierungen:
136135
137136
from sklearn.cluster import KMeans
138137
139-
140138
KMeans(10).fit_predict(points)
141139
142140
* `dask_ml.cluster.KMeans
@@ -146,7 +144,6 @@ k-Means-Algorithmus gibt es sogar gleich zwei Implementierungen:
146144
147145
from dask_ml.cluster import KMeans
148146
149-
150147
KMeans(10).fit(points).predict(points)
151148
152149
Gegen diese bestehenden Lösungen könnte bestenfalls sprechen, dass sie einen

docs/performance/sp_kmeans.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import numpy as np
66
import pandas as pd
7-
87
from scipy.spatial import cKDTree
98

109

0 commit comments

Comments
 (0)