Files
OpenBB/website/content/terminal/reference/econometrics/add.md
jose-donato e1962252ad Docs fixes (#3530)
* fix(docs): added margin between sections

* fix: images

* readd old content for examples/images

* fix: codespell

* fix: codespell

* fix: ga

* fix: remove temp lorem ipsum

* fix: docu config for edit page

Co-authored-by: teh_coderer <me@tehcoderer.com>
2022-11-22 14:56:17 -05:00

1003 B
Vendored

title, description
title description
add OpenBB Terminal Function

add

Add columns to your dataframe with the option to use formulas. E.g. newdatasetcol = basedatasetcol sign criteriaordatasetcol thesis.high_revenue = thesis.revenue 1000 dataset.debt_ratio = dataset.debt div dataset2.assets

Usage

usage: add -n NEWDATASETCOL -b BASEDATASETCOL -s {div,mul,add,sub,mod,pow,,,=,=,==} -c CRITERIAORDATASETCOL

Parameters

Name Description Default Optional Choices
newdatasetcol New dataset column to be added with format: dataset.column None False None
basedatasetcol Base dataset column to be used as base with format: dataset.column None False None
sign Sign to be applied to the base dataset column None False div, mul, add, sub, mod, pow, , , =, =, ==
criteriaordatasetcol Either dataset column to be applied on top of base dataset or criteria None False None