logo
  • Home
  • User Guide
  • NumPy Reference
  • Contributing to NumPy
  • Release Notes
  • About NumPy
  • Reporting bugs
  • Glossary
  • Setting up
  • Quickstart tutorial
  • NumPy basics
    • Data types
    • Array creation
    • I/O with NumPy
    • Indexing
    • Broadcasting
    • Byte-swapping
    • Structured arrays
    • Writing custom array containers
    • Subclassing ndarray
  • Miscellaneous
  • NumPy for Matlab users
  • Building from source
  • Using NumPy C-API

I/O with NumPyΒΆ

  • Importing data with genfromtxt
    • Defining the input
    • Splitting the lines into columns
    • Skipping lines and choosing columns
    • Choosing the data type
    • Setting the names
    • Tweaking the conversion
    • Shortcut functions
Array creation Importing data with genfromtxt
© Copyright 2008-2019, The SciPy community. Last updated on Nov 29, 2019. Created using Sphinx 2.2.1.
NumPy logo

NumPy is the fundamental package needed for scientific computing with Python.

  • Mailing list

About us

  • Our history
  • Ecosystem
  • Roadmap
  • Team

Community

  • Blog
  • Contributing
  • Code of conduct
  • Community survey

Learning & Documentation

  • User guide
  • API reference
  • Release notes
  • Tutorials
  • Videos
  • Books
  • Courses

© NumPy Developers