Questions tagged as 'csv'

1
answer

Read a csv file as an array in java

I've been experimenting with the com.opencsv and javacsv libraries but I always run into some pitfall with these packages: I can not write the first row, I can not read columns, among other problems. My question is: Is there a package that allow...
asked by 28.03.2018 / 07:31
1
answer

convert file content to array

I'm having problems when I convert a csv file to an array. You see, I created a function that makes that conversion and returns the array. The process does it relatively "well" and it generates the array but fix as it is the resulting array:...
asked by 07.04.2018 / 04:47
1
answer

Print an arrayList that stores strings from a .csv file

I'm doing a tour of a .csv file and I save it in an array for the idcase and another for activity, and then I print it, and at the time of printing it prints each iteration of each activity as I show in the following: 1[register request]...
asked by 12.03.2018 / 21:20
0
answers

C # show and filter csv for windows mobile CE OS 5.2

I need to filter a csv file (with local device path) for a Windows mobile 5.0. The csv will have around 500 lines, in C # (visual studio 2008) of the type: Code; Description; position; quantity; 10000637; mounting tools, arrangement; 6; 2...
asked by 26.12.2017 / 23:29
0
answers

Comparison of CSV grouped rows. Python

Sort my CSV to be able to do some math operations with if - else import pandas as pd df = pd.read_csv('Cliente_x_Pais_Sitio.csv', sep=',') df1 = df.sort_values(by=['Cliente','Auth_domain','Sitio',"Country"]) df1.to_csv('test.csv') CS...
asked by 17.01.2018 / 15:07
1
answer

Send CSV to an API using POSTMAN

I am using Symfony 3 to create an API that receives a CSV file and reads it. This is my route: /** * Recive a file * * @Route("/get/file", name="get-file") * @Method("POST") * @param Request $request * @return Response */ public functi...
asked by 17.01.2018 / 14:51
1
answer

I get an error when importing csv

hi I'm doing the export and import in php + mysql + csv of a table with several records some 3000 records another 10 and with those of 10 records exports and imports normal, with 3000 or 2000 records exports normal but I do not care and I get th...
asked by 19.11.2017 / 10:51
2
answers

How to convert data from a CSV file into python 3?

I am working on Python 3, when reading a .CSV file with several columns, of which the last 3 have numbers. When reading the file, all columns read them as strings and I want them to be int or float. How can I convert columns 5, 6 and 7 to int...
asked by 21.10.2017 / 01:51
1
answer

Read csv in pandas does not show me all values

I'm working with a CSV file that comes down from a URL. I keep it and even there everything is perfect. Once I want to read it and print the results it just shows me some. He puts me some ... ... ... and tells me how many lines I have but he doe...
asked by 02.10.2017 / 19:32
1
answer

Manipulate .csv files using (fgetcsv ()) php

I'm looking for a way to compare and add data to a csv file using php. The moment this code has been achieved using    fgetcsv () Although it does not work 100% because I can not solve some details: This is the content of "datos.c...
asked by 02.10.2017 / 20:47