Spaces:
Restarting
Restarting
| import pandas as pd, requests | |
| def fetch_questions(url: str) -> pd.DataFrame: | |
| response = requests.get(url) | |
| response.raise_for_status() | |
| question_data = response.json() | |
| return pd.DataFrame(question_data) |