I read a table from a txt file as follows. How to delete rows or columns after import it? It seems that no function of org-table-delete-row
exits in org
.
#+begin_src emacs-lisp
(org-table-import "ttt.out" nil)
#+end_src
The file ttt.out
will be:
#Cluster Frames Rep RepScore Rep RepScore
0 23 2 0.6 6 0.4
1 10 5 0.1 3 0.5
2 5 4 0.4 5 0.6
3 4 1 0.4 2 0.6
The results I need (delete third rows and columns of RepScore
).
| #Cluster | Frames | Rep | Rep |
| 0 | 23 | 2 | 6 |
| 2 | 5 | 4 | 5 |
| 3 | 4 | 1 | 2 |