Update README.md
Browse files
README.md
CHANGED
|
@@ -1,17 +1,32 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
-
Downloading the Dataset
|
| 5 |
-
This document will guide you through the steps to download the historical Merval options dataset from Hugging Face Datasets.
|
| 6 |
|
| 7 |
-
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
!pip install datasets
|
|
|
|
|
|
|
| 10 |
Here's the Python code to load the Merval equity dataset from Hugging Face Datasets and convert it into a pandas DataFrame:
|
| 11 |
|
|
|
|
| 12 |
from datasets import load_dataset
|
| 13 |
import pandas as pd
|
| 14 |
|
| 15 |
id = "gauss314/opciones"
|
| 16 |
data = load_dataset(id)
|
| 17 |
-
df = pd.DataFrame(data['train'][:])
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular-classification
|
| 5 |
+
- tabular-regression
|
| 6 |
+
tags:
|
| 7 |
+
- Merval
|
| 8 |
+
- options
|
| 9 |
+
pretty_name: Merval historical options data, for deep learning and machine learning tests
|
| 10 |
---
|
|
|
|
|
|
|
| 11 |
|
| 12 |
+
# Downloading this Options Dataset
|
| 13 |
|
| 14 |
+
This document will guide you through the steps to download the Merval options dataset from Hugging Face Datasets.
|
| 15 |
+
|
| 16 |
+
To start, you'll need to install Hugging Face's `datasets` library if you haven't done so already.
|
| 17 |
+
You can do this using the following pip command:
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
!pip install datasets
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
Here's the Python code to load the Merval equity dataset from Hugging Face Datasets and convert it into a pandas DataFrame:
|
| 24 |
|
| 25 |
+
```python
|
| 26 |
from datasets import load_dataset
|
| 27 |
import pandas as pd
|
| 28 |
|
| 29 |
id = "gauss314/opciones"
|
| 30 |
data = load_dataset(id)
|
| 31 |
+
df = pd.DataFrame(data['train'][:])
|
| 32 |
+
```
|