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

9 次查看(过去 30 天)
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