Spaces:
Sleeping
Sleeping
Update app/indices_html.py
Browse files- app/indices_html.py +2 -2
app/indices_html.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import pandas as pd
|
| 2 |
-
from . import nsepythonmodified
|
| 3 |
import html
|
| 4 |
from datetime import datetime as dt
|
| 5 |
from collections import defaultdict
|
|
@@ -26,7 +26,7 @@ def build_indices_html():
|
|
| 26 |
return cached_html
|
| 27 |
|
| 28 |
# ================= FETCH DATA =================
|
| 29 |
-
p = indices()
|
| 30 |
data_df = p.get("data", pd.DataFrame())
|
| 31 |
dates_df = p.get("dates", pd.DataFrame())
|
| 32 |
|
|
|
|
| 1 |
import pandas as pd
|
| 2 |
+
from . import nsepythonmodified as ns
|
| 3 |
import html
|
| 4 |
from datetime import datetime as dt
|
| 5 |
from collections import defaultdict
|
|
|
|
| 26 |
return cached_html
|
| 27 |
|
| 28 |
# ================= FETCH DATA =================
|
| 29 |
+
p = ns.indices()
|
| 30 |
data_df = p.get("data", pd.DataFrame())
|
| 31 |
dates_df = p.get("dates", pd.DataFrame())
|
| 32 |
|