Questions tagged as 'csv'

1
answer

Import CSV files into MySQL using LOAD DATA LOCAL INFILE

I used the following script to import a .csv file into MySQL using MySQL WorkBench : USE test; LOAD DATA LOCAL INFILE 'exemplo1.csv' INTO TABLE tabela1 fields terminated by ';' lines terminated by '\r'; I've seen a number of o...
asked by 13.06.2015 / 22:13
1
answer

How to "clean" a csv file with Python?

Hello! I am extremely new to programming, so I apologize if I can not explain what I am trying to do or if my code is very wrong. I have a recurring task in my job which is to open a list of restaurants in Ifood, collect the prices of each of th...
asked by 18.10.2018 / 15:32
2
answers

Avoid double quotation marks in CSV file exported with PHP

It is possible to prevent the CSV file from coming with aspas duplas in string fields, I am using the script below, but the nome field is coming between aspas duplas , how can I avoid this? <?php//export.phpif(is...
asked by 01.10.2018 / 19:37
3
answers

Popular table in page load

Hello. I am creating a people registration page, with each click on the save button, a csv file is generated, which on the next page loading should be used to show the already done entries on the screen, so that the user can know who has already...
asked by 16.07.2018 / 15:25
1
answer

How to read in the android application a CSV file previously embedded?

I'm having difficulty getting this part done, I've followed all the steps of several sites, I've reached the end and the application reads the file. Anyone know what might be happening ??     
asked by 28.05.2018 / 15:07
1
answer

Export fopen without the ""

I am using fopen , to export the return of a select, it is exporting correctly, but in certain fields it is appearing "" as I remove "" from export, leaving only ,    Because it is coming out as follows: "rice", "sw...
asked by 02.01.2018 / 20:54
1
answer

* .CSV file with UTF-8

I created a process that takes content from a certain web page filters what is necessary and generates a file *.csv of this content, you work correctly however the words that have some accentuation ends up giving error in generating time,...
asked by 08.11.2017 / 11:26
1
answer

Accessing .csv file with PHP [duplicate]

I would like to know how I can get and store column data in a .csv file with PHP?     
asked by 21.11.2017 / 16:37
2
answers

How to count the records of a csv in python?

I'm a beginner in Python and I'm having a hard time. I have a separate CSV database for ";" with 6 columns. I'd like to count how many records they have, whose sex is "Female." Can you tell me how to do or where should I start my studies?...
asked by 16.10.2017 / 19:17
1
answer

Error reading CSV: A non-formed numeric value encountered

I'm trying to get 3 different values from 3 distinct csv files and multiply them, but it's giving this error. Where did I go wrong? Or what is missing add?! Error:    Notice: A non-formed numeric value encountered in C: \ xampp \ htdocs...
asked by 21.08.2017 / 23:55