You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot pickle numpy.datetime64 scalars in Python 3.6 #11656
e4d678a2f5859d29a853d617e9e5bbd4b6241898 is the first bad commit
commit e4d678a2f5859d29a853d617e9e5bbd4b6241898
Author: Jeff VanOss <[email protected]>
Date: Sun Mar 25 01:29:20 2018 -0400
BUG: Provide correct format in Py_buffer for scalars (#10564)
Unifies scalar and ndarray pep3118 format string generation
:040000 040000 42eebbd3aa7713e65ba2c7ecee910e8eea53fd1c 60e7cdc28dbd474ad4205a6628cec1f0a9749884 M numpy
@xhochy
def parallel_apply(data, fun, args):
pool = mp.Pool(mp.cpu_count() - 1)
result = [pool.apply(fun, (data.loc[x, :], *args)) for x in data.index]
result = [p.get() for p in result]
end_result = pd.concat(result)
return end_result
from this part of code i also get following error "BufferError: could not get scalar buffer information". i tried several things to solve it but non of them worked. Any sugesstion? Thanks for help
Activity
tylerjereddy commentedon Aug 3, 2018
I bisected to identify the problematic commit:
adaag commentedon Aug 8, 2018
@xhochy
def parallel_apply(data, fun, args):
pool = mp.Pool(mp.cpu_count() - 1)
result = [pool.apply(fun, (data.loc[x, :], *args)) for x in data.index]
result = [p.get() for p in result]
end_result = pd.concat(result)
return end_result
from this part of code i also get following error "BufferError: could not get scalar buffer information". i tried several things to solve it but non of them worked. Any sugesstion? Thanks for help
Ape commentedon Aug 20, 2018
Is there a release planned that would contain this fix?
eric-wieser commentedon Aug 20, 2018
:)