R-like range() function · Issue #288 · pandas-dev/pandas (original) (raw)
In R, if I supply range(dataframe), I get back a vector of the minimum value in all the dataframe and the maximum value in all the dataframe.
DataFrame's min() and max() functions operate only on single columns. The way to do it currently is
minimum, maximum = (min(df.min()), max(df.max())
It's not a critical limitation, but it is convenient to have at times.