Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Oct 15, 2024
1 parent 7c11ae6 commit 7fd913c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/morpheus/morpheus/_lib/src/messages/meta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,11 @@ py::object MessageMetaInterfaceProxy::get_data_frame(MessageMeta& self)
}

auto column_names = info.get_column_names();
auto py_df = info.get_parent()->get_py_object();

auto py_object = info.get_parent()->get_py_object();
py::gil_scoped_acquire gil;
auto py_column_names = py::cast(column_names);
py::object py_df_slice = py_object[py_column_names];
py::object py_df_slice = py_df[py_column_names];
return py_df_slice.attr("copy")("deep"_a = true);
}

Expand Down

0 comments on commit 7fd913c

Please sign in to comment.