Re: PCollection from DataFrame

2018-08-08 Thread OrielResearch Eila Arich-Landkof
Hi Jon, thank you. will try that. Best, Eila On Wed, Aug 8, 2018 at 9:00 AM, Jon Goodrum wrote: > Hi Eila, > > > You can turn your DataFrame into a list via *df.values.tolist()* and pass > that into *beam.Create(...)* directly: > > > import apache_beam

Re: PCollection from DataFrame

2018-08-08 Thread Jon Goodrum
Hi Eila, You can turn your DataFrame into a list via *df.values.tolist()* and pass that into *beam.Create(...)* directly: import apache_beam as beam import pandas as pd from apache_beam.options.pipeline_options import PipelineOptions def print_item(item

PCollection from DataFrame

2018-08-08 Thread Eila Arich-Landkof
Hello all, Is it possible to create a pcollection from a pandas dataframe Many thanks, Eila ——— Eila www.orielresearch.org www.meetup.com/deep-learning-in-production