[Dprglist] Visualizing data [was: PID]
    Bob Cook 
    bob at bobandeileen.com
       
    Sat Oct 10 15:38:42 PDT 2020
    
    
  
Hi Murray,
The Python library for elasticsearch works on a single “document” (one data record) at a time, for uploading. Unless you use the batching API, which I’m not. So I read each record line by line (mine is JSONND instead of CSV, but basically the same) then post each in turn.
> On Oct 10, 2020, at 3:19 PM, Murray Altheim via DPRGlist <dprglist at lists.dprg.org> wrote:
> 
> I'd earlier thought that the CSV file from an entire robot run (an entire
> spreadsheet) would be uploaded rather than by row, but your code seems to be
> writing to the server row-by-row.
> 
> Was there a reason for that, i.e., that's the way Elasticsearch expects the data?
> 
    
    
More information about the DPRGlist
mailing list