Skip to main content

Questions tagged [csv]

Filter by
Sorted by
Tagged with
0 votes
4 answers
501 views

I have a c++ code that needs to store some data whenever an event is triggered. The data contains about 3000 floating point values. So each of these values needs to be written in a file when the event ...
user146290's user avatar
4 votes
1 answer
340 views

Case1: I have the following task to do: Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which has dimension 24x25. Every datapoints of each CSV ...
S. M.'s user avatar
  • 37
4 votes
5 answers
3k views

I have the following method, which needs to return a List, but exceptions might occur along the way, and I don't want to handle them in my application, mainly because I don't even know how to handle ...
MasterTJ123's user avatar
2 votes
8 answers
1k views

I am creating a CSV consumer (with Java). There is one field / column that should contain one of the values "Rename" or "Move". I implemented this by allowing mixed case of letters,...
NimChimpsky's user avatar
  • 4,670
6 votes
1 answer
365 views

TL;DR: Given a repo with a lot of big fixture tests, when should I look for a solution where the golden files are not part of the repo anymore? Where should they be stored? The setup Testing a ...
Turion's user avatar
  • 169
-1 votes
1 answer
193 views

I'm currently working on a React Application with Firebase that involves a ton of data manipulation and reading. One specific feature is the ability to autofill a form based on a very large CSV file (...
Erol's user avatar
  • 23
1 vote
4 answers
905 views

OVERVIEW We have multiple data providers who provide us information from a large set of data sources. These end data sources provide data in CSV format. Since, the CSV formats are not consistent ...
Rishabh's user avatar
  • 365
2 votes
3 answers
2k views

I'm building a data visualization that displays COVID information for the United States, at the city, state, and county level. The ultimate source of truth are three CSVs published by the New York ...
InspectorDanno's user avatar
-5 votes
1 answer
68 views

I go to several sites that offer their data in XML, JSON, CSV formats. As shown here, https://www.space.org/basicspacedata/query/class/boxscore/format/csv, I choose the format. Question is how is ...
Barry vT's user avatar
  • 101
0 votes
1 answer
106 views

I have mainly three groups of CSV files (each file is divided into several small files): First group of CSV files have 600+ GB in total (MAYBE 200+ GB if in int, cause CSV calculates by char right?), ...
heisthere's user avatar
  • 101
-2 votes
1 answer
334 views

In our environment, we often have to import CSV files into a database, where each line represents a record. Though there is no actual business use case for storing the original line numbers inside the ...
Eugene Lycenok's user avatar
0 votes
1 answer
161 views

I created a CSV export that works like the code below. There is a LinkedHashMap where the keys are the column title and values are functions where certain properties are read. By reording the lines ...
ave4496's user avatar
  • 141
0 votes
2 answers
1k views

I have a desktop app that generates numerous csv files. The application always runs on PCs that have been configured for the English (United Kingdom) region/format, but it's feasible that files might ...
Andrew Stephens's user avatar
50 votes
4 answers
46k views

Our line-of-business software allows the user to save certain data as CSV. Since there are a lot of different formats (all called "CSV") in use in the wild, we are tying to decide what the &...
Heinzi's user avatar
  • 9,868
1 vote
1 answer
159 views

I've been tasked with taking a sample of survey results that are stored in CSV and to convert them to XML. I'm still fairly new to XML, but have come up with a couple of layouts I could use and was ...
screencut's user avatar
3 votes
1 answer
128 views

A user uploads a CSV to the server to be inserted into the database and I would like to return a meaningful response to this user. My thoughts : { inserted : x records discarded : y records } ...
Oleg's user avatar
  • 181
5 votes
2 answers
6k views

I have a Console project reads inputs from CSV file and tries to save them to database. For that, I created a class Person that maps a CSV row. The CSV file has two columns Name and Age. Person ...
Mhd's user avatar
  • 195
4 votes
5 answers
10k views

I've been tasked to query 2 large csv files which are roughly 1 GB in size each. The files contain related data, so file one may contain a list of order numbers, Order Dates, etc and the file may ...
Rhodes73's user avatar
-1 votes
1 answer
143 views

As a side project with my coworkers -- we are oil and gas geologists -- we have been creating an interactive map-based learning tool for other geologists. We are having trouble building the database, ...
Tony's user avatar
  • 17
2 votes
2 answers
2k views

My aim here is to find out the best possible and feasible solution for my dilemma. I want to import some csv file (may contain around 50~60K records) into database after some manipulation into the ...
Shilpa Soni's user avatar
0 votes
1 answer
959 views

I receive several CSV files each quarter to process through an SSIS package, and the formatting is inconsistent. This quarter, I encountered what I term optional text qualifiers--text qualifer of ...
DoctorKennyG's user avatar
2 votes
3 answers
474 views

Not sure if this is the right venue to be asking this but here goes. A little background. I'm trying to build an ecommerce app that would allow sellers from other venues--like, amazon and newegg--to ...
clueless's user avatar
  • 129
0 votes
1 answer
40 views

I am working on a project in which I have to model opening schedules (eg a swimming pool is opened from 10:30am to 5pm on Tuesday from january to May. I try to fit this data in a csv and I started ...
Simon Bergot's user avatar
  • 8,030
0 votes
1 answer
289 views

I have a flat file (CSV) that brings me the data I want, but it needs to be cleaned and processed before it can be used, so I built an intermediate Database (MySQL) in order to get the structure from ...
Gerardo Charles Rojas Vega's user avatar
1 vote
0 answers
1k views

I have one A File and many input files ,All files have CSV format . I want to match text of one column of all input files with one of the column of A file . I have stored all column value of File A in ...
Charlie's user avatar
  • 119
0 votes
2 answers
701 views

I am working on a web front end + front end services. I receive good sized csv files (10k lines). My service processes them and condenses them into one larger csv file (up to 300k lines). This ...
Jeff's user avatar
  • 1,874
0 votes
1 answer
2k views

I would like to send a CSV file via POST in a XMLHttpRequest, but I am unsure of two things. First is there anything to distinguish a CSV file from a string split up by comma's? And what sort of ...
EasilyBaffled's user avatar
22 votes
6 answers
38k views

Is CSV considered a good option against XML and JSON for programming languages? I generally use XML and JSON (or sometimes a plain text file) as flat file storage. However, recently I came across an ...
Vishwas's user avatar
  • 1,891
5 votes
4 answers
14k views

Background: I have a CSV file, which I need to ready and validate each element in each row and create a collection of a class, having valid data. i.e CSV File looks like: EmpID,FirstName,...
user2697452's user avatar
1 vote
3 answers
2k views

There are a lot of variants of the CSV "standard" (or lack thereof). I've never personally see any that use an escape character (like \) instead of surrounding each field with double quotes. Instead ...
poke's user avatar
  • 560
0 votes
1 answer
1k views

There is a remote csv file that gets updated every second or so. I need to download it(on a Windows machine) ONCE and always sync local file with the remote one. Obviously, downloading the whole ...
Amit Dugar's user avatar
28 votes
5 answers
52k views

A colleague and I have recently argued over whether a pure regex is capable of fully encapsulating the csv format, such that it is capable of parsing all files with any given escape char, quote char, ...
Spencer Rathbun's user avatar
8 votes
4 answers
9k views

We have a requirement in our project to generate a big CSV file every 2 hours using a Java program. This file will have around 60,000 lines (around 120 characters per line). I am not sure about the ...
java_mouse's user avatar
  • 2,657
14 votes
5 answers
13k views

What tests should I use to unit test a CSV parser? I have a simple CSV parser in C#, and I want to be sure that I have good unit test coverage of all the common (and uncommon) edge cases. What tests ...
Joel Coehoorn's user avatar