Files
OpenBB/website/old_content/terminal/forecast/load/_index.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

4.3 KiB
Vendored

usage: load [-f FILE] [-a ALIAS] [-h]

Load custom data set into a DataFrame. If a column exists titled "date", "time", "timestamp", "quarter" is automatically converted to a date format and is set as index of the DataFrame.

optional arguments:
  -f FILE, --file FILE  File to load data in (can be custom import, may have been exported before.) (default: None)
  -a ALIAS, --alias ALIAS
                        Alias name to give to the dataset (default: None)
  -h, --help            show this help message (default: False)

Example:

(🦋) /forecast/ $ load aapl.csv

(🦋) /forecast/ $ show aapl
                  Dataset aapl | Showing 10 of 759 rows
┏━━━┳━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━┓
┃   ┃ date       ┃ open  ┃ high  ┃ low   ┃ close ┃ adj_close ┃ volume    ┃
┡━━━╇━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━┩
│ 0 │ 2019-06-10 │ 47.95 │ 48.84 │ 47.90 │ 48.15 │ 46.99     │ 104883600 │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 1 │ 2019-06-11 │ 48.72 │ 49.00 │ 48.40 │ 48.70 │ 47.53     │ 107731600 │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 2 │ 2019-06-12 │ 48.49 │ 48.99 │ 48.35 │ 48.55 │ 47.38     │ 73012800  │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 3 │ 2019-06-13 │ 48.67 │ 49.20 │ 48.40 │ 48.54 │ 47.37     │ 86698400  │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 4 │ 2019-06-14 │ 47.89 │ 48.40 │ 47.58 │ 48.19 │ 47.03     │ 75046000  │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 5 │ 2019-06-17 │ 48.22 │ 48.74 │ 48.04 │ 48.47 │ 47.31     │ 58676400  │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 6 │ 2019-06-18 │ 49.01 │ 50.07 │ 48.80 │ 49.61 │ 48.42     │ 106204000 │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 7 │ 2019-06-19 │ 49.92 │ 49.97 │ 49.33 │ 49.47 │ 48.28     │ 84496800  │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 8 │ 2019-06-20 │ 50.09 │ 50.15 │ 49.51 │ 49.87 │ 48.67     │ 86056000  │
├───┼────────────┼───────┼───────┼───────┼───────┼───────────┼───────────┤
│ 9 │ 2019-06-21 │ 49.70 │ 50.21 │ 49.54 │ 49.69 │ 48.50     │ 191202400 │
└───┴────────────┴───────┴───────┴───────┴───────┴───────────┴───────────┘