The data browser window in the notebook is very similar to the data browser in Java IDE. However, they have the a few differences:
- In Java IDE, we can right click on the data browser to conduct operations such as copy, sort, export, etc. The notebook doesn't offer these functionalities.
- In the notebook, we can change the maximum number of rows displayed in data browser by entering a number in the box of "Limit" immediately above the data browser and hit "Enter".
- We cannot use plot or plotHist functions in the notebook for graphs. Instead, we can directly plot based on the object displayed in the data browser of the notebook. Click the "Plot" button on the upper right corner of the data browser and enter the necessary fields.
Example: execute the following script in the editor window:
sym = `C`MS`BAC`BK`WFC
price= 75.67 53.24 29.48 54.42 60.92
qty = 2200 1900 2100 3200 1800
t = table(sym, qty, price)
select *, price*qty as volume from t;
The result will be displayed in the data browser:
Click on the "Plot" button to plot a graph to compare the trading volumes of the 5 stocks: