• NumPy v1.10 Manual
  • NumPy User Guide
  • index
  • next
  • previous

Previous topic

How to find documentation

Next topic

Data types

Numpy basics¶

  • Data types
    • Array types and conversions between types
    • Array Scalars
  • Array creation
    • Introduction
    • Converting Python array_like Objects to Numpy Arrays
    • Intrinsic Numpy Array Creation
    • Reading Arrays From Disk
  • I/O with Numpy
    • Importing data with genfromtxt
  • Indexing
    • Assignment vs referencing
    • Single element indexing
    • Other indexing options
    • Index arrays
    • Indexing Multi-dimensional arrays
    • Boolean or “mask” index arrays
    • Combining index arrays with slices
    • Structural indexing tools
    • Assigning values to indexed arrays
    • Dealing with variable numbers of indices within programs
  • Broadcasting
    • General Broadcasting Rules
  • Byte-swapping
    • Introduction to byte ordering and ndarrays
    • Changing byte ordering
  • Structured arrays
    • Introduction
    • Defining Structured Arrays
    • Accessing and modifying field names
    • Accessing field titles
    • Accessing multiple fields at once
    • Filling structured arrays
    • Record Arrays
  • Subclassing ndarray
    • Credits
    • Introduction
    • View casting
    • Creating new from template
    • Relationship of view casting and new-from-template
    • Implications for subclassing
    • Simple example - adding an extra attribute to ndarray
    • Slightly more realistic example - attribute added to existing array
    • __array_wrap__ for ufuncs
    • Extra gotchas - custom __del__ methods and ndarray.base
  • © Copyright 2008-2009, The Scipy community.
  • Last updated on Oct 18, 2015.
  • Created using Sphinx 1.2.1.