Skip to content

Commit 8a30f19

Browse files
committed
Revert "Change input type of pca.fit_transform to ndarray"
This reverts commit b4371fa.
1 parent b4371fa commit 8a30f19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kb_python/report/report_matrix.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"sc.pp.normalize_total(adata, target_sum=1e4)\n",
159159
"sc.pp.log1p(adata)\n",
160160
"pca = PCA(n_components=10)\n",
161-
"pc = pca.fit_transform(adata.X.toarray())"
161+
"pc = pca.fit_transform(adata.X.todense())"
162162
]
163163
},
164164
{

0 commit comments

Comments
 (0)