Skip to content

DecisionLab.Net

Lean Data: Infrastructure and Analytics

  • How To
  • Challenges and Solutions
  • Updates
  • Customer Voices
  • Survey
  • Partners

Category: NumPy

May 1, 2020May 31, 2020 by Daniel Upton

NumPy: Index, Slice, and Aggregate a 2D Array

Python’s NumPy library is fun in that it’s easy to work with multi-dimensional data.  For simplicity, consider a 2D array (aka matrix). I wrote some code to demonstrate the creation, simple visualization, slicing, and aggregation of data within a matrix, including totals and slice-subtotals. Source Code: It is available in Git Hub: NumPy 2D Array… Read More

NumPy, Python, Uncategorized Leave a comment

Contact

Daniel Upton
760-525-3268
dupton@decisionlab.net
Follow DecisionLab.Net on WordPress.com
Cancel

 
Loading Comments...
Comment
    ×