azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Add serialization support for pandas and numpy-like objects

Open mzat-msft opened this issue 3 years ago • 1 comments

We introduce logic in the AzureJSONEncoder that allows to serialize objects that implement some particular methods that are present in numpy number, numpy ndarray, pandas dataframes.

The implementation assumes that any object that has those methods will be serialized using them. If you think restricting this only to numpy and pandas object might be better, I can add some introspection logic to target only those.

This PR is loosely related to this issue from the old msrest package: https://github.com/Azure/msrest-for-python/issues/257

mzat-msft avatar Dec 08 '22 08:12 mzat-msft

Thank you for your contribution mzat-msft! We will review the pull request and get back to you soon.

ghost avatar Dec 08 '22 08:12 ghost

Hi @mzat-msft. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

ghost avatar Mar 03 '23 10:03 ghost

Hi @mzat-msft. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing "/reopen" if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the "no-recent-activity" label; otherwise, this is likely to be closed again with the next cleanup pass.

ghost avatar Mar 10 '23 11:03 ghost