Spaces:
Running
Running
Update index.py
Browse files
index.py
CHANGED
|
@@ -21,7 +21,7 @@ def fetch_index(max_rows=200):
|
|
| 21 |
# ----------------------------------
|
| 22 |
# Fetch NIFTY 50 data
|
| 23 |
# ----------------------------------
|
| 24 |
-
df = nse_index_df(index_name="NIFTY 50")
|
| 25 |
|
| 26 |
|
| 27 |
if df.empty:
|
|
|
|
| 21 |
# ----------------------------------
|
| 22 |
# Fetch NIFTY 50 data
|
| 23 |
# ----------------------------------
|
| 24 |
+
df = nse_index_df(index_name="NIFTY 50")
|
| 25 |
|
| 26 |
|
| 27 |
if df.empty:
|