Skip to content

Commit 77fc5d0

Browse files
committed
Changing dtype of fit_transform to ndarray
1 parent 8a30f19 commit 77fc5d0

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.todense())"
161+
"pc = pca.fit_transform(adata.X.toarray())"
162162
]
163163
},
164164
{

0 commit comments

Comments
 (0)