I have the following org file:

--8<---------------cut here---------------start------------->8---
#+BEGIN_SRC python :exports both
  import numpy as np

  return np.matrix([[.123456789, 2], [3, 4]])
#+END_SRC

#+RESULTS:
| 0.12345679 | 2 |
|          3 | 4 |
--8<---------------cut here---------------end--------------->8---

I want to export it to latex to produce a pdf but I want to format the
numbers of the table so I get, say

| 123.456e-3 | 2.000 |
|      3.000 | 4.000 |

on the exported pdf.

How can I do it?

Reply via email to