mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
Docs/update xl docs (#6145)
* remove print * update obb.get docs * example * md lint
This commit is contained in:
4
website/content/excel/data-slicer.md
vendored
4
website/content/excel/data-slicer.md
vendored
@@ -50,6 +50,10 @@ When passing date labels make sure to use the format `YYYY/MM/DD` or refer to a
|
||||
=OBB.GET(A1:D3,2,3)
|
||||
```
|
||||
|
||||
:::tip
|
||||
To slice the from the last row use negative numbers. For example, `=OBB.GET(A1:D3,-1,-2)` will return the last row and the second to last column.
|
||||
:::
|
||||
|
||||
- Slicing multiple rows and columns:
|
||||
|
||||
```excel
|
||||
|
||||
8
website/content/excel/functions.json
vendored
8
website/content/excel/functions.json
vendored
@@ -7,22 +7,22 @@
|
||||
"name": "GET",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "Data to slice.",
|
||||
"description": "Array to slice.",
|
||||
"dimensionality": "matrix",
|
||||
"name": "data",
|
||||
"name": "array",
|
||||
"type": "any"
|
||||
},
|
||||
{
|
||||
"description": "Range of row labels or indices.",
|
||||
"dimensionality": "matrix",
|
||||
"name": "row",
|
||||
"name": "rows",
|
||||
"optional": true,
|
||||
"type": "any"
|
||||
},
|
||||
{
|
||||
"description": "Range of column labels or indices.",
|
||||
"dimensionality": "matrix",
|
||||
"name": "column",
|
||||
"name": "columns",
|
||||
"optional": true,
|
||||
"type": "any"
|
||||
}
|
||||
|
||||
@@ -269,9 +269,6 @@ class CommandLib:
|
||||
sig = signature_.split("(")[0] + "("
|
||||
category = signature_.split(".")[1].lower()
|
||||
|
||||
if cmd == "/economy/fred_regional":
|
||||
print(cmd)
|
||||
|
||||
def get_p_value(cmd, p_name) -> str:
|
||||
if cmd in self.EXAMPLE_PARAMS:
|
||||
return self.EXAMPLE_PARAMS[cmd].get(p_name, "")
|
||||
|
||||
Reference in New Issue
Block a user