v3io流数据客户端
v3io-frames的Python项目详细描述
v3io_帧-v3io的流式数据客户端
将数据从客户端nuclio处理程序流式处理到pandas数据帧。
您将需要运行一个framesd
服务器,请参见here。
importv3io_framesasv3fclient=v3f.Client(address='localhost:8081')num_dfs=num_rows=0size=1000fordfinclient.read(backend='weather',table='table',max_in_message=size):print(df)num_dfs+=1num_rows+=len(df)print('\nnum_dfs = {}, num_rows = {}'.format(num_dfs,num_rows))
许可证
apache许可证2.0版,请参见LICENSE.txt