We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0298ca4 commit a1aee23Copy full SHA for a1aee23
ovrlpy/_kde.py
@@ -203,8 +203,10 @@ def _sample_expression(
203
assert len(coord_columns) == 3 or len(coord_columns) == 2
204
205
# lower resolution instead of increasing bandwidth!
206
- transcripts = transcripts.select(
207
- (pl.col(c) / kde_bandwidth for c in coord_columns), gene_column
+ transcripts = (
+ transcripts.lazy()
208
+ .select(pl.col(coord_columns) / kde_bandwidth, gene_column)
209
+ .collect(engine="streaming")
210
)
211
212
print("determining pseudocells")
0 commit comments