Questions tagged as 'csv'

1
answer

Import an xls or csv without Django model

I have been researching and can not find a way to import a file either xls or csv without having a model, I am trying to import files of this type into the database but they could vary in number of columns unexpectedly there is way...
asked by 15.08.2017 / 15:12
1
answer

Load of CSV Centos 7 PHP problems

Hi, I have a CSV file that contains this configuration: if (isset($_POST['submit'])) { $allowed = array('csv'); $filename = $_FILES['file']['name']; $ext = pathinfo($filename, PATHINFO_EXTENSION); if (!in_array($ext, $allowed)) { $message...
asked by 21.07.2017 / 12:49
1
answer

Sort CSV Matrix by Python date

I am doing a small development, in which I read from a CSV file in this way: csv = np.genfromtxt('MMRExport.csv',delimiter=",", dtype=str) Then what I do is create lists since I only need 2 columns of the file, one of "date" and another...
asked by 05.07.2017 / 15:08
1
answer

Parsear csv with problematic quotes

I have to read the following csv: ,codigo,nom,cognom ,111,michael,salinas ,222,"luis","doh, \”jik" ,333,ram,"Lak""\""""\""""\"" , ""\""“one" It is supposed to be 4 columns, but I have problems with the last row, to read the csv I am using a...
asked by 27.04.2017 / 18:44
1
answer

Force the download of a csv file from a servlet

I'm doing a java application where you have to download a CSV file. But it is happening to me that the browser does not show the download dialog, but shows it embedded in the browser itself. This is the code of my servlet: List<M...
asked by 03.02.2017 / 13:40
1
answer

use of bat in keyword search

Please if someone tells me how to make a change within a csv extension file, by a bat, I say if within the csv file I have written parts example: Hlmm.dds 32 image.jpg I want the bat to only place the text hlmm and change it to gfmm and tha...
asked by 24.12.2016 / 05:20
0
answers

NA lines when importing CSV and applying an as.tbl

How I have been importing files in xlsx ( read_excel ) and I have run my Rscript well but when importing the same file in csv, I get the first row with NAs This is a data.frame after a as.tbl with xlsx str(t) and this...
asked by 27.12.2018 / 17:27
0
answers

encoding a csv file

My situation is this: It turns out that I need to know what the encoding of a file is, I have already opened it with several applications but the encoding that it handles does not appear. Can someone help me?     
asked by 13.12.2018 / 21:24
1
answer

Help with a data abm in pyhton

I am working on a data abm for a csv file. The file contains data from provinces of Argentina. At the time of entering a province, I want the province to enter an if it validates that the province is or not in the csv, if any can help me if I wo...
asked by 23.11.2018 / 17:57
0
answers

Create csv from json and send it by mail Angular

I have an Angular 6 application that lists a Json object. I want to put a field where the user enters his mail and automatically send that Json object converted to Csv as an attachment to his mail I did this but I think that the matter is no...
asked by 13.11.2018 / 05:04