code: def client():
      client = Client(processes=False, asynchronous=False)
      try:
          yield client
      finally:
          client.close()
  
imports: import json
  import operator
  import numpy
  import pandas
  import pytest
  from dask.dataframe.utils import assert_eq
  from distributed import Client
  from streamz import Stream
  from streamz.dask import DaskStream
  from streamz.dataframe import Aggregation, DataFrame, DataFrames, Series
label_desc: Use image node_id 1 for calling a global function with example usage: client() without return types