Last active
January 19, 2024 15:14
-
-
Save Waflon/b8bdbf7301a1d736d38ba181aa0fc130 to your computer and use it in GitHub Desktop.
DataSet_to_DataFrame
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| from datasets import load_dataset | |
| dataset = load_dataset('Waflon/FAQ', split="train") # Loading the SQuAD dataset from huggingface. | |
| df = pd.DataFrame(dataset) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment