Navigation

  • index
  • next |
  • previous |
  • NumPy v1.8 Manual »
  • NumPy User Guide »

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 (aka “Record arrays”)
    • Structured Arrays (and 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.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on May 03, 2016. Found a bug?
Created using Sphinx 1.2.1.