MCPcopy Create free account
hub / github.com/SohierDane/BigQuery_Helper / head

Method head

bq_helper.py:158–172  ·  view source on GitHub ↗

Get the first n rows of a table as a DataFrame. Does not perform a full table scan; should use a trivial amount of data as long as n is small.

(self, table_name, num_rows=5, start_index=None, selected_columns=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_headMethod · 0.80

Calls 1

__fetch_tableMethod · 0.95

Tested by 1

test_headMethod · 0.64