File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1010
1111
1212class MsgPack (Codec ):
13- """Codec to encode data as msgpacked bytes. Useful for encoding an array of Python strings
14-
15- Raises
16- ------
17- encoding a non-object dtyped ndarray will raise ValueError
13+ """Codec to encode data as msgpacked bytes. Useful for encoding an array of Python strings.
1814
1915 Examples
2016 --------
@@ -29,6 +25,10 @@ class MsgPack(Codec):
2925 --------
3026 :class:`numcodecs.pickles.Pickle`
3127
28+ Notes
29+ -----
30+ Requires `msgpack-python <https://pypi.python.org/pypi/msgpack-python>`_ to be installed.
31+
3232 """ # flake8: noqa
3333
3434 codec_id = 'msgpack'
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ class Pickle(Codec):
2121 protocol : int, defaults to pickle.HIGHEST_PROTOCOL
2222 The protocol used to pickle data.
2323
24- Raises
25- ------
26- Encoding a non-object dtyped ndarray will raise ValueError.
27-
2824 Examples
2925 --------
3026 >>> import numcodecs as codecs
You can’t perform that action at this time.
0 commit comments