How does python view the properties of rows and columns?

clipboard.png

clipboard.png

dataframe, as shown in the first picture, requires the result of the second picture. What should I do? I"ve tried type and dtype, but it doesn"t work.

Feb.28,2021
Menu