logo
  • User Guide
  • API reference
  • Development
  • What is NumPy?
  • Installation
  • NumPy quickstart
  • NumPy: the absolute basics for beginners
  • 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
  • NumPy Tutorials
  • NumPy How Tos
  • Explanations
  • F2PY Users Guide and Reference Manual
  • Glossary
  • Under-the-hood Documentation for developers
  • NumPy’s Documentation
  • Reporting bugs
  • Release Notes
  • Documentation conventions
  • 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
Array creation Importing data with genfromtxt

© Copyright 2008-2020, The SciPy community.
Last updated on Jan 31, 2021.
Created using Sphinx 2.4.4.