examples/preview/README.md
# preview
Print the first 10 rows.
```ruby
require 'datamix'
using DataMix
sp500 = file '../_data/basic.csv'
sp500.preview
```
# Output
```
+------------+-------+
| date | price |
+------------+-------+
| 2015-03-11 | 2044 |
| 2015-03-12 | 2041 |
| 2015-03-13 | 2064 |
| 2015-03-16 | 2055 |
| 2015-03-17 | 2080 |
| 2015-03-18 | 2072 |
| 2015-03-19 | 2098 |
| 2015-03-20 | 2090 |
| 2015-03-23 | 2107 |
| 2015-03-24 | 2103 |
+------------+-------+
```