Quantcast
Channel: Active questions tagged string-manipulation - Mathematica Stack Exchange
Viewing all articles
Browse latest Browse all 186

read Python-generated data file

$
0
0

I've read similar-but-not-quite-the-same questions : I have to read a python-generated data file which contains complex numbers. So, the numbers appear as (real+imag j).

And of course Mathematica read them as strings using

Import["","Table"]

I've tried fiddling with StringSplit or Read[StringToStream,] to no avail...

Any help would be much appreciated.


Viewing all articles
Browse latest Browse all 186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>