Questions tagged as 'csv'

2
answers

How to pass CSV file data to an array in Java? [duplicate]

Ihavea.CSVfilewithseveralnumbersintwocolumns(1032,54832).Ineedtogetthesenumbersandpassthemtoavector.HowdoIdothis?ImadeacodetoimportthefileandIcandisplaythenumbers,butatthetimeofpassingthevaluestothevector,I'mhavingproblems.BelowiswhatIdid(Thi...
asked by 19.11.2018 / 00:33
0
answers

How to Automate Separate Tables from a CSV File

I have several files that have this type of "problem" (exemplified below), in which a file has more than one table with different structures. I'm using an XML file to read these tables, but I wonder if you do not have an automated way of doing t...
asked by 21.12.2018 / 12:52
1
answer

Mining in Python (prediction using csv)

I'm now starting to program in the Python language and I'm studying data mining with artificial neural network. What should I do to make predictions from a .csv file? Then how do I save the results in another table? import numpy as np impor...
asked by 11.11.2018 / 21:12
1
answer

Delete "," in the first and last line of a CSV

I have a csv that is exported like this: +++ Host - Begin +++,, Name,Description test1,abc2 test2, abd3 +++ Host - End +++,, How do I get this result? +++ Host - Begin +++ Name,Description test1,abc2 test2, abd3 +++ Host - End +++     
asked by 25.10.2017 / 13:23
2
answers

Export data from an object to csv file with PHP [duplicate]

I am trying to export data from the database to a CSV file, but all the functions I encounter to perform such a function have a certain type of error. I am doing all the search in the database with PDO and returning the data to my Control,...
asked by 03.06.2016 / 02:37
1
answer

blank csv file

I'm trying to import a CSV file into the android phone, it does the import the file appears on the android device monitor, but when I open it, it is empty. codes: ImportFtpActivity class: package realsysten.com.br.sigarestaurante; import an...
asked by 15.06.2016 / 21:24
1
answer

Write multiple csv files in Python [closed]

Hello! My question is this: I wrote a program that, with the information I enter, it will collect a number of links (this number varies) and will store them in a csv. Then it will open each of these links and collect some data, saving them in an...
asked by 05.11.2018 / 11:50
2
answers

Select separated by semicolons for xls

I have the following code: var cmd = @"SELECT mt.Id + ';' + mt.Nome + ';' + mt.Cidade AS Resultado FROM MinhaTable mt"; var objectContext = ((IObjectContextAdapter)db).ObjectContext; var resul...
asked by 08.09.2015 / 15:06
1
answer

Syntax error while reading CSV file

I'm trying, from a csv table, to remove certain information that is not useful to me, but in the code there is an error, according to python 3, but I can not figure out the error.    The error is on line 08, (file = open ('salicapiprojetos02.c...
asked by 06.04.2018 / 21:59
2
answers

How to remove rows from CSV file using PHP?

I need to remove the first two rows from a CSV file, does it have any function for this in PHP?     
asked by 04.07.2018 / 16:08