question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

column without title is ignored when importing a CSV

See original GitHub issue

a csv like

t1;t2;;t4
1;2;3;4

will import only columns t1, t2 and t4

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, May 25, 2016

if this behaviour could be provoked by any option that we are passing to Ogr2ogr, although at first sight I think it’s ? the CSV normalizer is exactly the same as I’m importing, so there are no edits performed here (encoding and delimiters are good and the table is not single column).

But the table that Ogr2ogr is returning as an output has just one column. See examples below with (our) Ogr2ogr versions 2.0 and 2.1, if this behaviour could be provoked by any option that we are passing to Ogr2ogr, although at first sight I think it’s an internal issue of the library.??

0reactions
stale[bot]commented, Feb 20, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I ignore the header column and row in a csv file ...
The problem is when I import the csv file it has a header column and row with 1...173 and the row of 1...
Read more >
How to read Pandas csv file with no header - Edureka
I have a csv file that I am importing in my Python script using pandas. ... You can set the header option to...
Read more >
How to read CSV without headers in pandas
When the header is ignored it assigned numerical numbers as column names. To fix this read_csv() function provides a param names to assign...
Read more >
LOAD CSV how to ignore case in the column headers - Neo4j
Just a short question: is there a way to ignore the case on the column name while importing with LOAD CSV? As I...
Read more >
Ignore Header when Reading CSV File as pandas DataFrame ...
In this example, I'll explain how to remove the header when importing a CSV file as a pandas DataFrame. For this task, we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found