out_table.TableRenderer.range
range(
tools.out_table.TableRenderer.
geo,
time,
quantity,*,
='location',
ordering='dataframe',
result_format )
Renders a table showing minimum and maximum values over time for the given selections. This is equivalent to calling quantiles()
with 0 and 1.
Parameters
geo:
GeoSelection
|GeoAggregation
-
the geographic selection to make on the output data
time:
TimeSelection
|TimeAggregation
-
the time selection to make on the output data
quantity: QuantitySelection | QuantityAggregation
-
the quantity selection to make on the output data
ordering: (
location
,quantity
) = “location”-
controls the ordering of rows in the result; both location and quantity are used to sort the resulting rows, this just decides which gets priority
result_format: (
dataframe
, string, print) = “dataframe”-
controls the type of the result of this method; “dataframe” returns a Pandas DataFrame, “string” returns the stringified table, and “print” just prints the stringified table directly and returns None
Returns
DataFrame
| str | None-
according to the value of the
result_format
parameter