MCPcopy Index your code
hub / github.com/pydata/xarray / calc_max_rows_last

Function calc_max_rows_last

xarray/core/formatting.py:144–146  ·  view source on GitHub ↗

Calculate the last rows to maintain the max number of rows.

(max_rows: int)

Source from the content-addressed store, hash-verified

142
143
144def calc_max_rows_last(max_rows: int) -> int:
145 """Calculate the last rows to maintain the max number of rows."""
146 return max_rows // 2
147
148
149def format_timestamp(t):

Callers 2

_mapping_reprFunction · 0.85
_element_formatterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…