Top "Genfromtxt" questions

Numpy function to create arrays from tabular data.

Using genfromtxt to import csv data with missing values in numpy

I have a csv file that looks something like this (actual file has many more columns and rows): 1,2,3,4,5 6,7,8,9,10 11,12,13,14,15 16 Say the …

python numpy genfromtxt
Best approach to query SQL server for numpy

In a previous programme I was reading data from a csv file like this: AllData = np.genfromtxt(open("PSECSkew.csv", "…

sql-server-2008 python-2.7 numpy genfromtxt
genfromtxt error - Got n columns instead of m

I am trying to import data using numpy's genfromtxt with header names and non-homogeneous data types. Every time I run …

python numpy genfromtxt
NumPy dtype issues in genfromtxt(), reads string in as bytestring

I want to read in a standard-ascii csv file into numpy, which consists of floats and strings. E.g., ZINC00043096,…

python numpy genfromtxt
Python genfromtxt file path

I have an extremely basic problem with the numpy.genfromtxt function. I'm using the Enthought Canopy package: where shall I …

python numpy filepath genfromtxt
numpy genfromtxt issues in Python3

I'm trying to use genfromtxt with Python3 to read a simple csv file containing strings and numbers. For example, something …

python numpy python-3.x genfromtxt
numpy genfromtxt/pandas read_csv; ignore commas within quote marks

Consider a file, a.dat, with contents: address 1, address 2, address 3, num1, num2, num3 address 1, address 2, address 3, 1.0, 2.0, 3 address 1, address 2, "address 3, address4", 1.0, 2.0, 3 …

python file-io numpy pandas genfromtxt
Python genfromtext multiple datatypes

I would like to read in a csv file using genfromtxt. I have six columns that are float, and one …

python python-2.7 numpy genfromtxt
Loading a date in Numpy genfromtxt

I'm trying to import a simple CSV file with Numpy genfromtxt but can't manage to convert the data of first …

python numpy genfromtxt