csview
csview copied to clipboard
Align numbers by dot
Check list
- [x] I have read through the README
- [x] I have searched through the existing issues
Environment info
- OS
- [x] Linux
- [ ] Mac OS X
- [ ] Windows
- [ ] Others:
Version
csview 1.2.2
Problem / Steps to reproduce
The output of my_number
column is the following:
┌────┬────────┬─────────────┬──────────┐
│ Id │ Sex │ my_number │ Embarked │
├────┼────────┼─────────────┼──────────┤
│ 1 │ male │ 12345.54321 │ S │
│ 2 │ female │ 123.321 │ C │
│ 3 │ female │ 123 │ S │
│ 4 │ female │ 12.21 │ S │
│ 5 │ male │ 1.1 │ S │
│ 6 │ male │ 0.1 │ S │
│ 7 │ male │ 0.01 │ S │
│ 8 │ male │ 0.001 │ S │
└────┴────────┴─────────────┴──────────┘
The output of my_number
column in my mind is the following:
┌────┬────────┬─────────────┬──────────┐
│ Id │ Sex │ my_number │ Embarked │
├────┼────────┼─────────────┼──────────┤
│ 1 │ male │ 12345.54321 │ S │
│ 2 │ female │ 123.321 │ C │
│ 3 │ female │ 123 │ S │
│ 4 │ female │ 12.21 │ S │
│ 5 │ male │ 1.1 │ S │
│ 6 │ male │ 0.1 │ S │
│ 7 │ male │ 0.01 │ S │
│ 8 │ male │ 0.001 │ S │
└────┴────────┴─────────────┴──────────┘