Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

No project description provided.

Project Description

cross py2/py3 python object serializer, currently using and extending jsonpickle to dump/load python objects with a primary focus on numpy/pandas types.

The main purpose of numpyson is to allow dumping under a python3 interpreter and loading under python2 and vice versa. This is a use case that is not covered by current serializers AFAIK.

quick simple API example:

import numpyson
import numpy
s = numpyson.dumps(numpy.array([1,2,3]))
data = numpyjson.loads(s)
assert data.to_list() == [1,2,3]

Currently supported:

  • numpy arrays and some other numpy types
  • pandas.TimeSeries
  • pandas.DataFrame
  • pandas.DateTimeIndex
  • pandas.Int64Index
  • pandas.Float64Index
  • pandas.Index
  • nested python data structures with the above types


  • fix bug: respect ordering when serializing/deserializing ndarrays


  • depend on pandas>=0.13.1 because we are using Float64Index which does not exist in pandas-0.12
  • support numpy.float64 and numpy.int64

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.9 kB) Copy SHA256 Hash SHA256
Source None Aug 5, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate