LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-29-2019, 11:54 PM   #1
hedron
Member
 
Registered: Jul 2009
Location: NYC
Distribution: Slackware64-multilib 15.0, SARPI, artix
Posts: 401

Rep: Reputation: 32
program to manipulate csv files


Is there a program like Open OFfice that can manipulate .csv files? Like, simple copy/pasting cells into rows, merging columns, change/insert delimiter, etc. I've been trying with OO, but it's just painful.

It also must be able to handle csv files that are possibly a million+ rows long.

Thanks.

Last edited by hedron; 06-01-2019 at 03:13 PM.
 
Old 05-30-2019, 12:39 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
a quick search of my package manager for "csv edit" turned up these projects:
https://github.com/swilmet/gCSVedit
https://github.com/aksr/mange
 
1 members found this post helpful.
Old 05-30-2019, 04:17 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Technically you are importing a csv file into a spreadsheet table then exporting back to a csv file. I agree that inserting or changing the delimiter and merging columns could be difficult.

sed, awk or maybe writing a python/perl script might be better with manipulating a csv file in this case.
 
2 members found this post helpful.
Old 05-30-2019, 10:02 AM   #4
WideOpenSkies
Member
 
Registered: May 2019
Location: /home/
Distribution: Arch Linux
Posts: 166

Rep: Reputation: 61
Quote:
Originally Posted by michaelk View Post
sed, awk or maybe writing a python/perl script might be better with manipulating a csv file in this case.
No need. There are several command line tools that are perfect for manipulating CSVs. Trust me. I do this as a full-time job.

These are my favorite:

csvkit
Visidata

I also use R to manipulate data, but that might be too advanced if you don't know the language.
 
1 members found this post helpful.
Old 05-30-2019, 10:14 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Thanks for the update.
 
Old 05-30-2019, 10:34 AM   #6
WideOpenSkies
Member
 
Registered: May 2019
Location: /home/
Distribution: Arch Linux
Posts: 166

Rep: Reputation: 61
Quote:
Originally Posted by escobarrr View Post
Is there other Links ? these ones don't work for me
Which links?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anything that can easily manipulate Comma Separated Value (.csv) files? grumpyskeptic Linux - Software 9 01-02-2017 11:13 AM
How to print lines in csv file if 1 csv column field = "text". There are 10 column (;) in csv file nexuslinux Linux - Newbie 9 04-22-2016 11:35 PM
Move files listed in col 1 of csv to new location renaming them to name in col 2 of csv Firmbyte Linux - Newbie 9 01-16-2016 07:56 AM
Map 1 CSV's columns to matching columns in another CSV 2legit2quit Programming 7 10-27-2011 08:53 AM
Comparing two csv files and write different record in third CSV file irfanb146 Linux - Newbie 3 06-30-2008 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration