What Julia functions can a DataFrame output, so it converts to text other than the ones below?
using DataFrames
A = DataFrame(randn(10, 7));
print("\n\n\n", "A = DataFrame(randn(10, 7))")
print("\n\n\n","print(A)\n")
print(A)
print("\n\n\n","show(A)\n")
show(A)
print("\n\n\n","show(A, true)\n")
show(A, true)
print("\n\n\n","show(A, false)\n")
show(A, false)
print("\n\n\n","showall(A)\n")
showall(A)
print("\n\n\n","showall(A, true)\n")
showall(A, true)
print("\n\n\n","showall(A, false)\n")
showall(A, false)
print("\n\n\n","display(A)\n")
display(A)
Most of them output something similar to the following:
10Γ7 DataFrames.DataFrame
β Row β x1 β x2 β x3 β x4 β x5 β x6 β x7 β
βββββββΌβββββββββββββΌββββββββββββΌββββββββββββΌββββββββββββΌβββββββββββββΌββββββββββββΌββββββββββββ€
β 1 β 0.377968 β -2.23532 β 0.560632 β 1.00294 β 1.32404 β 1.30788 β -2.09068 β
β 2 β -0.694824 β -0.765572 β -1.11163 β 0.038083 β -0.52553 β -0.571156 β 0.977219 β
β 3 β 0.343035 β -1.47047 β 0.228148 β -1.29784 β -1.00742 β 0.127103 β -0.399041 β
β 4 β -0.0979587 β -0.445756 β -0.483188 β 0.816921 β -1.12535 β 0.603824 β 0.293274 β
β 5 β 1.12755 β -1.62993 β 0.178764 β -0.201441 β -0.730923 β 0.230186 β -0.679262 β
β 6 β 0.481705 β -0.716072 β 0.747341 β -0.310009 β 1.4159 β -0.175918 β -0.079051 β
β 7 β 0.732061 β -1.08842 β -1.18988 β 0.577758 β -1.474 β -1.43082 β -0.584148 β
β 8 β -1.077 β -1.41973 β -0.330143 β -1.12357 β 1.01005 β 1.06746 β 2.09197 β
β 9 β -1.60122 β -1.44661 β 0.299586 β 1.46604 β -0.0200695 β 2.62421 β 0.396777 β
β 10 β -1.74101 β -0.541589 β 0.425117 β 0.14669 β 0.95779 β 1.73954 β -1.7994 β
This is normal and looks decent on a laptop and is correctly output to latex / pdf with nbconvert as a plain ascii text table. However, I need more options to get text output similar to the following, which looks much better in latex / pdf created by nbconvert.
| Column 1 | Column 2 | Column 3 | Column 4 |
|-------|-------------|-------------|--------------|
| a | b | c | d |
| A | B | C | D |
Are there any functions that output DataLata with this formatting? What about other options like digits =or caption =?