table stats - summary(TT) - like pythons pandas .describe()

조회 수: 4 (최근 30일)
Michael Feichtinger
Michael Feichtinger 2022년 4월 1일
이동: Steven Lord 2023년 8월 10일
Hi there,
is there any option to handle/store the output of
summary(TT)
in a table simarly as python pandas
dataframe.describe()
thx for any help!
M.

채택된 답변

Stephen23
Stephen23 2023년 8월 10일
이동: Steven Lord 2023년 8월 10일
Because SUMMARY provides different output values depending on the input data type, in general you would end up with a large table with missing elements (this is exactly what PANDAS.DATAFRAME.DESCRIBE does with the include='all' option). One approach: loop over the structures returned by SUMMARY, convert each one to table, and then use one of the JOIN family to join those tables together.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by