Docs/update xl docs (#6145)

* remove print

* update obb.get docs

* example

* md lint
This commit is contained in:
montezdesousa
2024-02-28 22:09:11 +00:00
committed by GitHub
parent 830acd99a4
commit b60d90875f
3 changed files with 8 additions and 7 deletions

View File

@@ -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

View File

@@ -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"
}

View File

@@ -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, "")