380 questions
0
votes
1
answer
117
views
WP All Import - importing from csv file contain json fields
Need some help with
I have a csv file provided by my client, which contains the export of products from an internal database connected to an invoicing software.
But some fields are in json.
This is an ...
0
votes
0
answers
165
views
How to handle NA (unavailable data) while importing from CSV files?
I decided to create a local database using Duckdb, but wasn't able to resolve a problem related to import of data from CSV files. A reason for that are NAs that is a quite frequent issue in social ...
0
votes
0
answers
71
views
MariaDB is rolling back (removing rows) when running LOAD DATA INFILE on large CSV files
I have large CSV files with stock values and I have successfully added these to my MariaDB database using the "LOAD DATA INFILE" command:
LOAD DATA LOCAL
INFILE '/mnt/HD/HD_b2/Public2/...
0
votes
0
answers
57
views
Problem with trailing number using adodb to import csv file
I use adodb to import csv to sheet but i have problem with trailing minus data and it seem record set cannot recognize trailing minus and it disappear.
i want it to import negatve number but because ...
0
votes
1
answer
138
views
How to import "|" delimited CSV data from a Bucket to MySQL on Google Cloud SQL?
I am trying to import data from a CSV file that is stored in a Bucket. The CSV file uses the "|" delimiter. I would like to import these data to a MySQL database on Cloud SQL.
However, I ...
0
votes
1
answer
150
views
How do I fix a Power Bi Input Data Millisecond Error?
I'm importing a csv data file into power bi power query. One of the columns has dates. 90% of the records are formatted as mm/dd/yyyy hh:mm:ss pm/am (12/7/2022 12:30:01 PM). The other 10% of the ...
0
votes
0
answers
497
views
Mysql Workbench - Error Code: 5. Out of memory
I am using myworkbench 8.0 to import data to MySql 8.0.32 from a 16G csv file. I get "Error Code: 5. Out of memory (Needed 784334881 bytes)". Machine spec: Win 10, 8Gb ram. CSV is | ...
0
votes
0
answers
56
views
QTableWidget doesn't refresh, after trying to import data from csv file with QFileDialog
I am working with PyQt5 and trying to import csv data to my QTableWidget, using QFileDialog which i open with a QPushButton. The issue is, after choosing the file, my QTableWidget won't refresh and ...
0
votes
1
answer
485
views
extract data in csv from table with 2 billion records
Wanted to know the tool which can extract data in csv from a table or by executing a sql query like
select * from table 1 inner join table 2 on ...
Data is currently in oracle database and required ...
0
votes
1
answer
130
views
vba importexportspecification not working twice
Seems CurrentProject.ImportExportSpecifications("import-CP_Commandes").Execute has sometimes a strange behaviour.
I need to import daily one or several csv files that will be inserted into ...
0
votes
1
answer
206
views
Python Rounds off values while importing/exporting from/to a scv file
While importing or exporting to a CSV file, I see that python rounds off value but only for certain rows/columns whereas the other data is kept intact. Not sure why this is happening for certain rows/...
0
votes
0
answers
389
views
Import new data from a text file based on certain field criteria
I have a little VB knowledge but this one is way beyond my scope. This is a multipart problem I am trying to find a solution.
We have a tab delineated text file with 11 fields that is constantly ...
1
vote
0
answers
247
views
Issue with rounding data and NaN when using pandas.read_csv
I am trying to load a csv into a data frame using pandas.read_csv. My data has a column of cell ids that are 18 digits long, and then other columns with other data. Sometimes there is an empty entry, ...
0
votes
1
answer
91
views
removing extra data for some rows in R
I have raw data that when importing, there is some "extra" data for some of the rows. It is saved as a text file but is comma separated. When bringing it into R, it looks like this:
In the ...
0
votes
0
answers
69
views
FROM clause of INSERT INTO throwing unhandled exception in VB
I'm running VB 2019, trying to import a CSV file into an Access database using this code:
Dim conn As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" + My....
0
votes
2
answers
2k
views
Import selected columns from .csv files in Power Query
I'm looking to import data with known required column headers, from a variable list of .csv files, some of which have columns I don't need. For example:
File 1 maybe has:
NAME, ADDRESS, EMAIL
File 2 ...
0
votes
1
answer
219
views
Sending SQL Queries to CSV file on Excel VBA doesn't work for Date Columns
I am trying to get some data from a csv file having more than than 3 million rows. I've set an ADODB connection to my csv file and everything works fine except for querying date columns.
Here is how I ...
1
vote
1
answer
344
views
pandas.read_csv() How to exclude specific separtor combinations
I have a csv like:
file:
1;a;3;4
1;2;b;4
1;[a;b];3;4
Loading like pd.from_csv(file, sep=';')
returns error:
ParserError: Error tokenizing data. C error: Expected 4 fields in line
3, saw 5
as the [a;...
-1
votes
2
answers
656
views
reading a csv file and printing out rows
I have created a csv file with two columns - the subject and the modules.
and i want to print out all the modules for the same subject
the csv file looks like this csvfile
currently my code looks like:...
0
votes
1
answer
313
views
Django error: ValueError: Cannot assign "(<Category: Cultural>, True)": "Site.category" must be a "Category" instance
I need to create a database importing data from a csv file. Following the instructions of the exercise, I created the models and a file for the script, but when I run the command python manage.py ...
1
vote
1
answer
801
views
Can't use custom seperator in opencsv
I need to get the values from my csv file and for this I need to set the seperator to ';' and the values are in '"'.
If I try it like this:
final CSVReader reader = new CSVReader(new ...
0
votes
2
answers
1k
views
How to find the date of min and max outdoor temp and output the min and max to a different csv with the date they occurred?
I am new to python and I am trying to help my son with a school project. He needs to look at a csv with min and max outdoor temperature, and then write to a different CSV with the min temperature and ...
3
votes
1
answer
2k
views
Reading list of URLs from .csv for scraping with Python, BeautifulSoup, Pandas
This was part of another question (Reading URLs from .csv and appending scrape results below previous with Python, BeautifulSoup, Pandas ) which was generously answered by @HedgeHog and contributed to ...
0
votes
0
answers
1k
views
How to import csv (local) into DB (on a server)
I got the following query to import a .csv that works perfectly when I execute it on the SQL Server instance of my Microsoft SQL Server 2019.
SELECT *
FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
...
-1
votes
2
answers
548
views
How to import a CSV file to MSSQL using Springboot
I am working on a project that has a function that allows users to import a file (Excel or CSV) to DB (MsSQL). I have read tutorials on the internet and followed them, but the problem is one of my ...
1
vote
1
answer
2k
views
Problems using # (hashtag) in string columns importing CSV in R
I have hashtags (#) in some of my string fields in a CSV file. It looks like that R has problems with it.
csv = "A;B;C
n;# 9;0
n;1;0"
read.table(text=csv, header=TRUE, sep=";", ...
1
vote
2
answers
3k
views
KeyError: 'id' django-import-export
I don't know where it is wrong, right in my code, please help I already wasted lot of my time... THANK YOU _/\_
admin.py
from import_export import resources
from import_export.admin import ...
1
vote
1
answer
180
views
Solr Index Handlers with Multivalue Field
I want to import a CSV into solr via Index Handlers like described in the docs:
https://solr.apache.org/guide/7_1/uploading-data-with-index-handlers.html#csv-update-parameters
I have a CSV with the ...
0
votes
2
answers
55
views
Get wrong output
My code is as follow
The output is null, I should use while loop as you see, but somewhere in my code is not working properly.
and I'm not able to use any other library
I need an hours array and rate ...
0
votes
0
answers
173
views
How to bulk insert flat file have Unicode work with Vietnamese
I have a flat file which I need to import to SQL.
Datatype of table is nvarchar(4000). I also use format file which is xml file.
the problem is the flat file has 'PM vuông' but when I imported to SQL, ...
0
votes
1
answer
1k
views
Powershell import csv where column data matches data in txt file
I have a csv file that has header called CompanyName.
In the csv there are tons of rows and different company names.
But I keep a text file with specific companies whose data I need to retrieve.
...
1
vote
1
answer
366
views
AssetManager doesn´t open a CSV file in folder "assets"
I am sorry for asking this but I am going to go crazy trying to solve it.
I call a method from my activity
d.loadQuestions(this);
I use that method to import two CSV files to a SQLite table.
public ...
2
votes
2
answers
2k
views
How can I import a CSV file containing JSON into postgresql?
I am trying to import this CSV file:
HEADER
"{
""field1"": ""123"",
""field2"": ""456""
}"
"{
"...
-3
votes
1
answer
217
views
Import JSON from CSV, grouping by multiple fields
I would like to create a JSON with array of nested objects with a grouping for different fields.
This is the CSV and Iwould like to group it by sid, year and quarter (first three fields):
S4446B3,2020,...
1
vote
2
answers
3k
views
Reading a CSV file without the full name
Very new to Python here. I am trying to read a file from a folder, but without knowing its full name.
For example AAA_05212021.csv is the file name located in C:\test\
AAA is the known part of the ...
-4
votes
1
answer
750
views
Segmentation fault while reading data from file
I'm getting a segmentation fault error while parsing data from a CSV file in C Language.
I believe the error is given while reading the last line <person[i].status> as if i comment the same line ...
2
votes
1
answer
6k
views
SSIS error The column delimiter for column "x" was not found
I have a CSV file that looks like below
In my SSIS package (Visual Studio 2017), I create a Flat File connection
Text qualifer: "
Header Row Delimiter: {LF}
Header Rows to skip: 0
Column ...
0
votes
1
answer
409
views
InfluxDB v2 annotated csv in R
InfluxDB and Flux return query results in annotated CSV format. Im am querying the data from R studio using the InfluxDB v2 API. How do I work with the data I receive in the annotated csv format?
...
0
votes
0
answers
159
views
Garbage value is inserting while importing zip file into database
I'm trying to import data through files and below code works fine with csv files but, when I upload a zip file it uploads some garbage value into database. Can you please help me with this. Thank you!
...
-1
votes
1
answer
554
views
Read header after string in Python
I have a few text files and there are multiline headers. If the file has the string 'Server totals' then I need to read in the text file, columns after this string.
for root, dirs, files, in os.walk('...
-1
votes
2
answers
37
views
if expression to find if text is in a field for a DictReader key
I would like to get the if "172" in statement to identify the addresses with 172 in them. Thinking I must have syntax wrong on "if "172" in {row["IP_ADDRESS_ZLOC"]}:...
0
votes
1
answer
270
views
DB2 ingest of decimal data from csv
i am looking for a db2 method to import a .csv file (IMPORT.CSV) like this:
2020-01-01;1.234.567,12345
in the a DB2 table MY_TABLE:
CREATE TABLE
MY_TABLE
(
DTRIF DATE,
SALDO ...
0
votes
1
answer
918
views
Starting import from CSV from row 2 using VBA
I'm new to VBA and therefore need some help. I'm trying to import data from a CSV file using a method where I can chose the csv of a list using the following piece of code:
Private Sub ...
1
vote
2
answers
785
views
Transfer data from one location to another having the same database and table schema
We have 2 branches B-1 and B-2 within the distance of 100kms. Both these Branches have their own SQL server setup in their respective locations ;with same database name, tables and structure... Means ...
1
vote
0
answers
914
views
Importing CSV file via VBA into Excel won't seperate data into different columns [duplicate]
I have a CSV file filename.csv with the following content:
UID;Datum;Klasse;SendungsNr
6177;14.08.20;624;00340434299338038179
6178;14.08.20;624;00340434299338038186
6179;14.08.20;624;...
0
votes
1
answer
84
views
Best way to transform source data?
Working in R. But I think this question is universal.
Wall Street Journal visualized a dataset on disease infection rates in the U.S.:
X-axis is year. Y-axis is state.
And shade of red per tile is ...
0
votes
0
answers
318
views
Yii2 - Import Multiple users from CSV file
I have two tables. one is user-table -name - user and another table named profile.
The format of csv file for user is like this:
first_name,last_name,username,email,phone,user_role,status,...
1
vote
0
answers
368
views
Export Import Oracle SQL Data with MetaData
I am trying to export some data from a connection say UAT to DEV. Once I export my data into a new table, would do a MINUS to get the missing or incorrect data. I don't have the option of creating a ...
0
votes
1
answer
672
views
Trying to Store GTIN numbers in WordPress Database via WooCommerce CSV Import
Trying to Store GTIN numbers in WordPress Database via WooCommerce CSV Import
In Excel I created my CSV in which there is a column called meta:wpseo_global_identifier_values
Through excel formulas I ...
0
votes
1
answer
2k
views
vaex Object dtype dtype('O') has no native HDF5 equivalent
I use vaex.from_csv() to convert csv to hdf5 .
import vaex
vaex.from_csv("/Users/xxxx/development/vaex/dataAN/testdata1.csv", convert=True)
Get
IPython/core/interactiveshell.py:3331: ...