From c3287f53789a985f401c404c3db7f2f096809553 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Fri, 20 Jan 2023 11:57:41 +0000 Subject: [PATCH] Revert "fix: revert changes to rdatafrane" This reverts commit 999aaab87808b1326234964a5ee166516b49f633. --- src/awkward/_connect/rdataframe/from_rdataframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/awkward/_connect/rdataframe/from_rdataframe.py b/src/awkward/_connect/rdataframe/from_rdataframe.py index f53bc1b1a2..a9c80db1d9 100644 --- a/src/awkward/_connect/rdataframe/from_rdataframe.py +++ b/src/awkward/_connect/rdataframe/from_rdataframe.py @@ -71,7 +71,7 @@ def form_dtype(form): def empty_buffers(cpp_buffers_self, names_nbytes): buffers = {} for item in names_nbytes: - buffers[item.first] = ak._nplikes.numpy.empty(item.second) + buffers[item.first] = ak._nplikes.numpy.empty(item.second, dtype=np.uint8) cpp_buffers_self.append( item.first, buffers[item.first].ctypes.data_as(ctypes.POINTER(ctypes.c_ubyte)),