Files
OpenBB/website/versioned_docs/version-v3/terminal/reference/forecast/show.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

4.5 KiB
Vendored

title, description
title description
show OpenBB Terminal Function

show

Show a portion of the DataFrame

Usage

show [-n {}] [-s SORTBY [SORTBY ...]] [-r] [--limit-col LIMIT_COL]

Parameters

Name Description Default Optional Choices
name The name of the database you want to show data for None True None
sortby Sort based on a column in the DataFrame True None
reverse Data is sorted in descending order by default. Reverse flag will sort it in an ascending way. Only works when raw data is displayed. False True None
limit_col Set the number of columns to display when showing the dataset 10 True None

Examples

(🦋) /forecast/ $ load aapl.csv

(🦋) /forecast/ $ show aapl

aapl dataset has shape (row, column): (759, 7)

                  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 │
└───┴────────────┴───────┴───────┴───────┴───────┴───────────┴───────────┘