Questions tagged as 'csv'

1
answer

Edit a csv file in java

I need to edit csv files but the available packages I have seen to manipulate these files (com.opencsv and javacsv) do not edit based on the current state of the file, but always rewrite it. This code shows in a simplified way what I want to do:...
asked by 12.03.2018 / 11:36
1
answer

Help! How do I get out of a while loop when it stays cycled in another while loop?

I have a cycle while to read a file .csv and another cycle while to read a array of letters. Inside I should print a letter and a line of .csv. But it remains cycled and only prints each letter of the alp...
asked by 23.02.2018 / 21:19
2
answers

Dictionary to csv File (Python)

my problem is that I have a csv file which happened to a dictionary. At the moment I want to pass this dictionary to a new csv file, the information is written but leaving a blank row, that is: Instead of being like this: 'example 1': 'h...
asked by 31.01.2018 / 02:34
0
answers

JavaFx with COMBOBOX

Thank you very much in advance but I have a query to see if you can help me because what I need is that the program I'm doing read me a CSV file in which the program itself saves data and from there I only took the name and I showed it in the co...
asked by 25.01.2018 / 17:51
0
answers

Problem loading csv to Phpmyadmin

From a file in excel I generate a csv file which I want to import into PhpMyAdmin using the Import from PhpMyAdmin option. But the first field, which is the primary key, only recognizes the last 3 characters. INSERT INTO 'tabla' VALUES ('214',...
asked by 17.01.2018 / 17:57
0
answers

CSV with; Python

I have a problem with a CSV that is separated by ; and not by , as usual. I made my code a while ago and it works with CSV separated by , , and I want to convert it (the code) to values separated by ; or...
asked by 20.12.2017 / 17:06
1
answer

Read text file delimited by pads in JAVA

I have a text file of the form: Pomace oil # 2.11 # 0.21 # 7 Sunflower oil # 5.14 # 0.1 # 3 I need to read and store its contents in different variables, that is, until the first one in one, until the second one in another, etc. I am...
asked by 07.12.2017 / 00:10
1
answer

How to import a long csv file in Hbase?

Good afternoon, I try to import a csv file in Hbase that is very long. It is dealing with food products: ingredients, nutrition, labels. It comes from Open Food Facts. It lists information about food products: ingredients, nutritional informatio...
asked by 30.11.2017 / 15:03
1
answer

Display CSV file in IE11

Good, I use Windows 7 IE11. It turns out that to open a CSV file always I download it when I really want it to be displayed in the browser itself. How can I solve it?  Thanks in advance a greeting.     
asked by 23.11.2017 / 15:15
0
answers

Get CSV in ZIP from a site with Basic Auth using Google Apps Script (google sheets)

I'm trying to get a csv that is zipped in a url, which needs basic auth. I can not achieve it, since it throws a syntax error in the argument of the variable 'files'. This is what I tried: function importdatastreamcsv() { var user = 'user';...
asked by 17.11.2017 / 10:45