mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
9 lines
249 B
Python
9 lines
249 B
Python
# Default number of rows displayed (different to pandas where ALL could be displayed)
|
|
DEFAULT_NUM_ROWS_DISPLAYED = 60
|
|
|
|
def docstring_parameter(*sub):
|
|
def dec(obj):
|
|
obj.__doc__ = obj.__doc__.format(*sub)
|
|
return obj
|
|
return dec
|