Pandas 'describe' is not returning summary of all columns

后端 未结 6 1968
野的像风
野的像风 2020-12-23 16:16

I am running \'describe()\' on a dataframe and getting summaries of only int columns (pandas 14.0).

The documentation says that for object columns frequency of most

6条回答
  •  时光取名叫无心
    2020-12-23 16:53

    pd.options.display.max_columns = DATA.shape[1] will work.

    Here DATA is a 2d matrix, and above code will display stats vertically.

提交回复
热议问题