ricardo chapingo 0 Posted June 24, 2023 Hello: i'm working with fuzzy match, my python code ends with a pandas data frame, the question is how can i to pass the data from the pandas dataframe to a delphi array? i have tried with this: for var V in VarPyIterate(MainModule.resultado) do begin ListBox1.Items.Add(V); (only get the dataframe headers) end; Share this post Link to post
KoRiF 1 Posted July 10, 2023 i think the first step you have to do is to convert to numpy array that supports memory buffer protocol This means that you will be able to operate on data in memory as if it were a C array. The next tricky step is to pass this array to Object Pascal which depends on your architecture and needs. For example, you could use the SharedMemory approach as the most universal The last step is parse your memory buffer on Delphi side Share this post Link to post