Cropping dataframe table data left or center

bertlhf
Sat, 17 Feb 2024 13:57:30 +0000
General Usage

Dataframe table data in Julia can easily be cropped right with the column_width keyword of PrettyTables.jl. For some of my columns I need data cropped left or center. I used to do this in R with the str_trunc function from the stringr package. I could not find this functionality in Julia, did I overlook it? How can I do this in Julia?

14 posts - 3 participants