csv-import Questions

7

Solved

In order to test some functionality I would like to create a DataFrame from a string. Let's say my test data looks like: TESTDATA="""col1;col2;col3 1;4.4;99 2;4.5;200 3;4.7;65 4;3.2;140 """ What...
Jesselton asked 24/3, 2014 at 8:43

3

I want to import csv file into SQLite db using sqlite> .separator , sqlite> .mode csv data sqlite> .import test.csv data where data is the table name with three columns, just like the fil...
Niccolite asked 19/3, 2014 at 15:22

8

Solved

I have a CSV file which I am directly importing to a SQL server table. In the CSV file each column is separated by a comma. But my problem is that I have a column "address", and the data in this co...
Lamarckian asked 8/11, 2010 at 12:37

2

I am trying to import data from a csv file to SQL Server. There are thousands of entries in the csv file and we have a lot of rows with incorrect data in it. Some of the rows in the CSV File are: ...
Biotite asked 15/11, 2016 at 22:55

4

Solved

I have a csv file which isn't coming in correctly with pandas.read_csv when I filter the columns with usecols and use multiple indexes. import pandas as pd csv = r"""dummy,date,loc,x bar,2009010...
Druse asked 22/2, 2013 at 4:50

1

I am importing a CSV with a few hundred rows into my rails database. Occasionally the user wants to force overwrite the data so I figured that it would be best to destroy all the data and start f...
Autoclave asked 20/6, 2017 at 23:3

2

Solved

I want to read a .csv data in Swift, so I have informed me how to make this. Finally I got into this: https://github.com/Flinesoft/CSVImporter The CSVImporter. But it says: "You can of course also...
Nertie asked 16/3, 2017 at 19:19

3

Solved

I have a PHP script that calls MySQL's LOAD DATA INFILE to load data from CSV files. However, on production server, I ended up with the following error: Access denied for user ... (using passwor...
Sumba asked 24/5, 2012 at 12:59

1

I have a Postgresql script that automatically imports csv files into my database. The script can detect duplicate records and remove them, do a proper upsert but still cannot tackle everything. Bas...
Alexanderalexandr asked 16/4, 2013 at 12:54
1

© 2022 - 2024 — McMap. All rights reserved.