New answers tagged

10

The reason for the difference between ugly and nice is in the (hidden) data type that Dataset assigns them: ugly = Dataset[{<|"a" -> 11, "b" -> 2, "c" -> 12|>}]; nice = Dataset[{<|"a" -> 11, "b" -> "2", "c" -> 12|>}]; << Dataset`; << TypeSystem`; In[43]:= ugly // GetType (* Vector[Assoc[Atom[Enumeration["a", "b", ...


2

makeBrackMat[mat_?MatrixQ] := DisplayForm[ RowBox[{StyleBox["[", SpanMaxSize -> \[Infinity]], GridBox[mat], StyleBox["]", SpanMaxSize -> \[Infinity]]} ] ]; Exact numbers: mat1 = Partition[Range[12], 3]; makeBrackMat[mat1] Machine-precision numbers: mat2 = {{1.3, 2.9}, {9.5, 8.4}, ...



Top 50 recent answers are included