What what is the type of a row of a DataFrame in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What what is the type of a row of a DataFrame in python?

I have learned that a column in DataFrame is a Series. But what type is a row in a DataFrame? Thanks!

19th Jan 2022, 3:43 PM
jklmy
1 Answer
+ 2
print(df_name['row_name'].dtype])
19th Jan 2022, 4:02 PM
Simba
Simba - avatar