Multi-dimensional (axial) data handling in Python

Recently I was playing around with multi-dimensional data structures in Python.

Some interesting observations:

  1. Multi-dimensional lists and multi-dimensional arrays are fundamentally handled differently.
  2. Slicing of multi-dimensional arrays (numpy) need to be carefully considered in regards to shallow copy etc

 

Some references below for further examination:

References:

  1. http://ilan.schnell-web.net/prog/slicing/
  2. https://docs.python.org/2/library/copy.html
  3. http://stackoverflow.com/questions/509211/explain-pythons-slice-notation
  4. http://cs231n.github.io/python-numpy-tutorial/
  5. http://www.physics.nyu.edu/pine/pymanual/html/chap3/chap3_arrays.html
  6. http://www.astro.ufl.edu/~warner/prog/python.html

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s