Skip to content

Document and test behaviour around NaN#1346

Merged
adriangonz merged 5 commits into
SeldonIO:masterfrom
adriangonz:docs-nan
Aug 24, 2023
Merged

Document and test behaviour around NaN#1346
adriangonz merged 5 commits into
SeldonIO:masterfrom
adriangonz:docs-nan

Conversation

@adriangonz

Copy link
Copy Markdown
Contributor

Fixes #1154

Changelog

  • Add docs around NaN behaviour
  • Extend Numpy and Pandas codecs to handle NaNs (only for FP* datatypes)

@adriangonz adriangonz requested a review from vtaskow August 24, 2023 10:10

@vtaskow vtaskow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not too sure about some aspects. Other comments are just nits.

Comment thread mlserver/codecs/numpy.py
Comment thread tests/codecs/test_numpy.py
Comment thread docs/user-guide/content-type.md
Comment thread tests/codecs/test_numpy.py Outdated
Comment thread tests/codecs/test_pandas.py
Comment thread tests/codecs/test_pandas.py

@vtaskow vtaskow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your comments make sense. 👍

Comment thread tests/codecs/test_numpy.py
@adriangonz adriangonz merged commit be8bab5 into SeldonIO:master Aug 24, 2023
@adriangonz adriangonz deleted the docs-nan branch August 24, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for NaN in np.ndarray codec?

3 participants