[GRASS-dev] Parsing output of r.category which includes labels
nik at nikosalexandris.net
Thu Aug 23 02:52:20 PDT 2018
* Stefan Blumentrath <Stefan.Blumentrath at nina.no> [2018-08-23 07:23:12 +0000]:
>Can you give us a bit more context? What is it you want to achieve?
>How are you using r.stats and what is it you want to do with the
>Personally, I am not too familiar with performance implications of
>NumPy vs. plain Python, but rather use NumPy for convenience in
>matrix/table operations (avoiding pandas)...
for category in categories:
statistics_filename = prefix + '_' + category
Instead, I want to (modify the above so as to) collect/direct all
iterations in one output file.
The question, finally, seems to be: use Python's 'csv' library or prefer
NumPy? The number of records might reach tens of thousands (or more).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the grass-dev