python pandas get info about all the columns (> 900 columns)
Question:
Answers:
Perhaps it depends on the environment where you run you commands. But I hope it might be more universal to do it in a loop.
Maybe not the most elegant option though, but try this:
types = df.dtypes
for index in types.index:
print(index, types[index])
Perhaps it depends on the environment where you run you commands. But I hope it might be more universal to do it in a loop.
Maybe not the most elegant option though, but try this:
types = df.dtypes
for index in types.index:
print(index, types[index])