Prepend[List @@@ Normal@dataset, Keys@Normal[dataset][[1]]]] like SemanticImport/SemanticExport

or a pivot table with column names and row names and a table_name in left corner.

titanic = ExampleData[{"Dataset", "Titanic"}]

titanic[GroupBy["sex"], GroupBy["class"], ratio, "survived"]

Are there some more stupid/better methods to do this?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.