What is an array of entries in pandas?

I found the following code:

df.to_records(index=False)

I am trying to understand what he is doing. I found this page that says:

Convert a DataFrame to an array record. The index will be placed in the index field of the array of records, if requested

This does not help, because I do not know what it means record array. I type df before and after to_records. On the screen, I do not see the difference.

+4
source share
1 answer

numpy (. ). FWIW, , DataFrame , , . , , .

df, to_records df , .

ra = df.to_records(index=False)
print ra

, .

+2

All Articles