Skip to content
#

scipy

Here are 839 public repositories matching this topic...

eugeneh101
eugeneh101 commented Apr 24, 2020

If you join Dask DataFrame on a categorical column, then the outputted Dask DataFrame column is still category dtype. However, the moment you .compute() the outputted Dask DataFrame, then the column is the wrong dtype, not categorical.

Tested on Dask 2.14.0 and Pandas 1.0.3
This example where the category type looks like a float, so after .compute(), the dtype is float.

import dask.d
librosa
bmcfee
bmcfee commented Apr 29, 2019

Description

STFT allocates an output buffer, but sometimes you might want to have it compute directly into an existing buffer. For example, in griffin-lim, the method alternates stft/istft for each iterate, which is then discarded. It would be better if we could give it an out= variable, which it would use instead of allocating a new buffer; this way, we could cut down on redundant mem

verde

Improve this page

Add a description, image, and links to the scipy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the scipy topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.