logo
  • User Guide
  • API reference
  • Development
  • Release notes
  • Learn
  • What is NumPy?
  • Installation
  • NumPy quickstart
  • NumPy: the absolute basics for beginners
  • NumPy fundamentals
    • Array creation
    • Indexing on ndarrays
    • I/O with NumPy
      • Importing data with genfromtxt
    • Data types
    • Broadcasting
    • Byte-swapping
    • Structured arrays
    • Writing custom array containers
    • Subclassing ndarray
    • Universal functions ( ufunc ) basics
    • Copies and views
  • Miscellaneous
  • NumPy for MATLAB users
  • Building from source
  • Using NumPy C-API
  • NumPy Tutorials
  • NumPy How Tos
  • For downstream package authors
  • F2PY user guide and reference manual
  • Glossary
  • Under-the-hood Documentation for developers
  • Reporting bugs
  • Release notes
  • NumPy license

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

previous

Indexing on ndarrays

next

Importing data with genfromtxt

© Copyright 2008-2022, NumPy Developers.

Created using Sphinx 4.2.0.