Skip to main content

Questions tagged [csv]

Files containing data arrange in a table, often with commas (hence Comma Separated Values), to separate columns. Rows are separated by newlines (but not all newlines are row separators as fields can be quoted to contain the separator newlines. Use this tag for full-fledged CSV data not the simpler case of one record per line or completely unquoted (use csv-simple for that kind of data).

1 vote
4 answers
157 views

I have a csv from a solar inverter and I need to input the data into a SQL database. The problem I have is that two inverters are in the same csv, so I need to split the csv into two or "do ...
humnab's user avatar
  • 21
-3 votes
2 answers
187 views

Input data: id,location_id,name,title,[email protected],department 1,1,Susan houston,Director of Services,[email protected], 2,1,Christina Gonzalez,Director,[email protected], 3,2,Brenda brown,"...
NetRanger's user avatar
-1 votes
6 answers
209 views

from script below: EmpID:Name:Designation:UnitName:Location:DateofJoining:Salary 1001:Thomson:SE:IVS:Mumbai:10-Feb-1999:60000 1002:Johnson:TE::Bangalore:18-Jun-2000:50000 1003:Jackson:DM:IMS:Hyderabad:...
Ismael Sanchez's user avatar
9 votes
5 answers
2k views

I have a CSV file and want to run a command for each line, using the fields of the file as separate arguments. For example given the following file: foo,42,red bar,13,blue baz,27,green I want to run ...
luator's user avatar
  • 312
5 votes
5 answers
645 views

My input file data: "Per Sara Porras.|, LLC"|column2_data|column3_data column1_data|"column2|data"|"column3|data" Required output: "Per Sara Porras.@@@, LLC"|...
Raj Vardhan Tiwari's user avatar
-4 votes
5 answers
216 views

From the script below I need to know the following: EmpNo#Email#Name#JobLevel#Experience 641357#Amrit_Mohanty#Amrit Mohanty#3#2 678522#Puneet_Mishra#Puneet Mishra#3#1 670242#Vikas_Bharti#Vikas Bharti#...
Ismael Sanchez's user avatar
3 votes
2 answers
714 views

I have a CSV file with 100 million rows, approximately 60GB in size. Now, I want to create another CSV from it but only take lines that match a certain condition: at the end of the CSV, there is an ...
membersound's user avatar
0 votes
4 answers
344 views

I have file where I need to find if some column is empty. File is delimited by ; Some of data contains & in word and awk is command it not working for same . Lets say I have file (...
pbh's user avatar
  • 101
3 votes
3 answers
393 views

I have a Garmin Nuvi which uses OpenStreet maps. Garmin do postcodes, but is usually 2-3 years out of date for Scotland. OSM does not do British postcodes, but the Post office does, and it can be ...
user256787's user avatar
-3 votes
2 answers
150 views

input.csv - "family_guy","Brian","b47f0a80-d848-4d81-a45b-7ba930e6048b","son" "family_guy","Brian","b47f0a80-d848-4d81-a45b-...
Raman Kathpalia's user avatar
0 votes
5 answers
1k views

I am looking for a command-line tool to calculate the sum of the values in a specified column of a CSV file. (Update: The CSV file might have quoted fields, so a simple solution just to break on a ...
halloleo's user avatar
  • 659
1 vote
1 answer
144 views

I have a .csv file with multiple lines with the following format: ¬Country¬,¬Year¬,¬Singer¬,¬Song Title¬ ¬Japan¬,¬1999¬,¬Utada Hikaru¬,¬First Love¬ ¬South Korea¬,¬1999¬,¬Lee Jung Hyun¬,¬Wa¬ ... I can ...
baiserekku's user avatar
3 votes
5 answers
315 views

I have a text file that has around 15 columns.  The fields are separated by comma.  One column that is description is double-quoted and also has some words which are double-quoted.  I need to retain ...
Mythri's user avatar
  • 43
2 votes
7 answers
3k views

I am struggling with processing a file. Normally I should have a line for each host definition. But sometimes, someone split some fields on different lines. Here is an example: "host1","...
Nicolas Greder's user avatar
1 vote
1 answer
130 views

General overview I have a `history.csv CSV file of urls formated like this: <url>;<title>;2024-03-30T12:00:00;2024-03-30T12:00:00 (The 2024-03-30T12:00:00 is the same) The goal is to get ...
fauve's user avatar
  • 1,529

15 30 50 per page
1
2 3 4 5
64