Top "Csv" questions

Comma-Separated Values or Character-Separated Values (CSV) is a standard "flat file database" format for storing tabular data in plain text, consisting of an optional header row that lists the table fields delimited by commas or tabs or other delimiter character, followed by one or more rows (newline separated) representing the table records as delimited lists of the values.

pandas read_csv and filter columns with usecols

I have a csv file which isn't coming in correctly with pandas.read_csv when I filter the columns with …

python pandas csv csv-import
How to ignore the first line of data when processing CSV data?

I am asking Python to print the minimum number from a column of CSV data, but the top row is …

python csv
Count how many records are in a CSV Python?

I'm using python (Django Framework) to read a CSV file. I pull just 2 lines out of this CSV as you …

python csv count
How to import an Excel file into SQL Server?

I have data in an Excel file - actually xlsx format since it is now 2020. My requirement is to get …

sql-server excel csv import oledb
Writing to CSV with Python adds blank lines

I am trying to write to CSV file but there are blank rows in between. How can I remove the …

python csv python-3.3
How to read one single line of csv data in Python?

There is a lot of examples of reading csv data using python, like this one: import csv with open('some.…

python file csv iterator next
PHP Array to CSV

I'm trying to convert an array of products into a CSV file, but it doesn't seem to be going to …

php csv
datetime dtypes in pandas read_csv

I'm reading in a csv file with multiple datetime columns. I'd need to set the data types upon reading in …

python csv datetime pandas dataframe
Pythonically add header to a csv file

I wrote a Python script merging two csv files, and now I want to add a header to the final …

python csv header
Creating csv file with php

I want to create a csv file, but when I run the code, it returns a blank page and no …

php csv