Arrow Flight Samples
If writing your client in Python or Node.js, we highly recommend using the respective Python SDK or Node.js SDK instead of using the Arrow Flight endpoint directly.
Alternatively, you can use the PyArrow package directly.
The Arrow Python bindings (also named βPyArrowβ) have first-class integration with NumPy, pandas, and built-in Python objects. They are based on the C++ implementation of Arrow.
Queries can be sent and results retrieved as Pandas DataFrames. An example follows:
Stand-alone samples can be found in our sample repository:
Blocks Schema - Retrieve the structure only of blocks information.
Block Mining Time - Aggregation example to plot Average mining time of block per day of the week (last 1M blocks)
Weekly Gas Usage - Aggregation example to plot the average gas usage per weeks (last 3M blocks)
Last updated