Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #109344 > unrolled thread
| Started by | Anup reni <foxprone.r52@gmail.com> |
|---|---|
| First post | 2016-06-02 13:57 +0530 |
| Last post | 2016-06-02 13:57 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
2d matrix into Nx3 column data Anup reni <foxprone.r52@gmail.com> - 2016-06-02 13:57 +0530
| From | Anup reni <foxprone.r52@gmail.com> |
|---|---|
| Date | 2016-06-02 13:57 +0530 |
| Subject | 2d matrix into Nx3 column data |
| Message-ID | <mailman.79.1464857505.1839.python-list@python.org> |
i would like to transform this:
-1 0-0.8 0.64 -0.36-0.4 0.16 -0.84
0.0 0 -1.00
0.4 0.16 -0.84
0.8 0.64 -0.36
to something like this:
x y result
id 1 -0.8 -1 0.642 -0.8 0 -0.363 -0.4 -1
0.164 -0.4 0 -0.845 0.0 -1 0.006 0.0 0 -1.007 0.4 -1
0.168 0.4 0 -0.849 0.8 -1 0.6410 0.8 0 -0.36
Back to top | Article view | comp.lang.python
csiph-web