Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit bb69615

Browse files
committed
fix
1 parent 622b317 commit bb69615

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

bigframes/ml/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,11 @@ def fit(
248248
) -> _T:
249249
return self._fit(X, y)
250250

251-
def fit_predict(self, X: utils.ArrayType, y=None) -> bpd.DataFrame: # ignored
251+
def fit_predict(
252+
self: _T,
253+
X: utils.ArrayType,
254+
y: Optional[utils.ArrayType] = None,
255+
) -> _T:
252256
return self.fit(X).predict(X)
253257

254258

notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@
17361736
"provenance": []
17371737
},
17381738
"kernelspec": {
1739-
"display_name": "Python 3 (ipykernel)",
1739+
"display_name": "venv (3.10.14)",
17401740
"language": "python",
17411741
"name": "python3"
17421742
},
@@ -1750,7 +1750,7 @@
17501750
"name": "python",
17511751
"nbconvert_exporter": "python",
17521752
"pygments_lexer": "ipython3",
1753-
"version": "3.10.9"
1753+
"version": "3.10.14"
17541754
}
17551755
},
17561756
"nbformat": 4,

0 commit comments

Comments
 (0)