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

7 visualizaciones (últimos 30 días)
Michael Feichtinger
Michael Feichtinger el 1 de Abr. de 2022
Movida: Steven Lord el 10 de Ag. de 2023
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.

Respuesta aceptada

Stephen23
Stephen23 el 10 de Ag. de 2023
Movida: Steven Lord el 10 de Ag. de 2023
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.

Más respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by