O'Reilly logo

NumPy Cookbook - Second Edition by Ivan Idris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Connecting NumPy with the Rest of the World

In this chapter, we will cover the following recipes:

  • Using the buffer protocol
  • Using the array interface
  • Exchanging data with MATLAB and Octave
  • Installing RPy2
  • Interfacing with R
  • Installing JPype
  • Sending a NumPy array to JPype
  • Installing Google App Engine
  • Deploying the NumPy code on the Google Cloud
  • Running the NumPy code in a PythonAnywhere web console

Introduction

This chapter is about interoperability. We have to keep reminding ourselves that NumPy is not alone in the scientific (Python) software ecosystem. Working together with SciPy and matplotlib is pretty easy. Protocols also exist for interoperability with other Python packages. Outside of the Python ecosystem languages such as Java, R, C, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required