BUG/PERF: Sparse get_dummies uses concat by TomAugspurger · Pull Request #24372 · pandas-dev/pandas (original) (raw)

Do you know the method name? I don't see one that does it.

On Thu, Dec 20, 2018 at 7:30 AM Jeff Reback ***@***.***> wrote: ***@***.**** commented on this pull request. ------------------------------ In pandas/core/reshape/reshape.py <#24372 (comment)>: > @@ -909,7 +910,15 @@ def _make_col_name(prefix, prefix_sep, level): index = None if sparse: - sparse_series = {} + + if is_integer_dtype(dtype): we have that too let’s try to not reinvent the wheel — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#24372 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABQHIsVh9gjb1l4vfllL5IRhx3YlAv9Mks5u65D5gaJpZM4ZcH5c> .