Is there any way to exchange data in binary format with python ? Example. a) I have data in Mmma and want to export them to make use in python ...

b) Want to use Parquet format

| improve this question | | | | |
  • 3
    $\begingroup$ Why not use an intermediate format that both Mathematica and Python can easily read, and then export to whatever format you want from Python? $\endgroup$ – C. E. Oct 14 '19 at 6:06
  • $\begingroup$ @C.E. speed and efficiency prevent such a solution proposal. Mmma hasn't been the kindest to the latest developments that data scientist need to use. $\endgroup$ – Curious Oct 14 '19 at 8:24
  • $\begingroup$ You should have a look at WXF. The Wolfram Client for Python library implements data transfer between python and Mathematica using WXF. The documentation contains examples. $\endgroup$ – Leonid Shifrin Oct 14 '19 at 9:56
  • $\begingroup$ tl,rd this is py --> M , what about M --> py ? I asked for how m data/output can be exchanged in binary format w/ python ... what are u suggesting ? Please explain, rather than pointing fingers. $\endgroup$ – Curious Oct 14 '19 at 11:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.