Questions tagged as 'csv'

0
answers

Import a CSV file to MongoDB with PHP

I am trying to import a csv file into a mongodb collection, I have seen that it can be done through the mongoimport command, however I need to do it through php because I want to validate the entered data afterwards. So far I have managed to ope...
asked by 05.11.2018 / 22:54
1
answer

php is not writing csv

and tried to write a csv file with php, somehow you are not writing anything and I would like to know what it could be, if I recommend a php editor for linux, because I'm working with the nano editor from the console, the code is <?php date...
asked by 01.11.2018 / 23:52
0
answers

How to read csv file in servlet?

This is trying to read a csv file in a Servlet / java, the problem is when reading the file in particular and know your data. This is the form where I sent the file to the Servlet. <form id="form" method="post" class="upload-box" action...
asked by 30.10.2018 / 19:49
0
answers

Insert html or line breaks in csv on woocomerce

I need to insert a csv in my store, and I would like to introduce line breaks where I find points. The csv has 10,000 records, so going product to product can be hell, does anyone know or has it ever happened to him? Thanks     
asked by 01.11.2018 / 19:29
0
answers

Select specific cells from a csv file

my question is this: I need to select specific cells from a .csv file and insert them into specific cells in another .csv file, for example select the name of a person that is in column 2 row 7 and insert it in column 7 row 48, the tool is talen...
asked by 19.10.2018 / 14:49
0
answers

Error with Local data infile MYSQL

I am trying to import data from a csv file into a mysql database by means of the following code LOAD DATA INFILE 'direccion del archivo' INTO TABLE nombre_tabla FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; But when I run it, I get the...
asked by 20.10.2018 / 12:21
0
answers

Generate CSV with multiple records with a single Form

how are you? I tell you that I am new to the Program ... I need to create a csv with n rows or records using the same Form ... at the moment I have the following code which generates this csv but only with 1 record when using the submit button ....
asked by 12.10.2018 / 16:04
1
answer

Why do I load the whole table in null when loading a dataframe in spark?

I'm using Apache Spark 2.3.0 but when I want to load the csv and then show its data with df.show the whole table appears in null and I do not understand why if the file does contain the data val schema = StructType(Array(StructField("Rank",Str...
asked by 11.10.2018 / 16:44
0
answers

Write to CSV file from java

I have doubts about how to write to a CSV file from JAVA I know how to read it, but I have doubts about how to write and what is left by columns So I'm declaring them, now I want the user to enter them and save them in the File. (I do not...
asked by 18.09.2018 / 22:58
0
answers

Error downloading zip files c # restsharp

I have a api rest that allows me to download through a URL records of each month, the month before the current one presents it in a .csv file and the others in zip format, the structure of the URL is for the previous month to the current: l...
asked by 11.09.2018 / 16:07