code: def main(unused_argv):
      rng = np.random.default_rng(FLAGS.random_seed)
      df = create_customer_journeys(
          FLAGS.n_customers,
          conversion_rate=FLAGS.conversion_rate,
          random_generator=rng,
      )
  
      df["has_conversion"] = df["conversion_value"] > 0
      df["user_id"] = df.index.values
      df.dropna(subset=["product_view_0"], inplace=True)
      df.fillna("none", inplace=True)
      df.to_csv("synthetic_customer_journeys.csv")
  
file_path: pipelinedp/examples/codelab/generate_customer_journeys.py
imports: from absl import app
  from absl import flags
  import enum
  from typing import Optional
  import numpy
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: main(unused_argv) without return types