From 6557f80cd5842b4f5312e23007169c742a4450bb Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Fri, 17 Mar 2023 10:42:11 -0500 Subject: [PATCH] DataFrame._data deprecation in pandas --- partd/pandas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partd/pandas.py b/partd/pandas.py index 6c95351..a3e43b6 100644 --- a/partd/pandas.py +++ b/partd/pandas.py @@ -183,7 +183,7 @@ def serialize(df): headers = [col_header, ind_header] bytes = [col_bytes, ind_bytes] - for block in df._data.blocks: + for block in df._mgr.blocks: h, b = block_to_header_bytes(block) headers.append(h) bytes.append(b)