Spaces:
Sleeping
Sleeping
Neurolingua
commited on
Update other_function.py
Browse files- other_function.py +1 -1
other_function.py
CHANGED
@@ -106,7 +106,7 @@ def get_weather(city):
|
|
106 |
def get_rates():
|
107 |
r = requests.get(f'https://www.kisandeals.com/mandiprices/ALL/TAMIL-NADU/ALL')
|
108 |
soup=BeautifulSoup(r.text,'html.parser')
|
109 |
-
table= soup.find_all('table')
|
110 |
df = pd.read_html(str(table))
|
111 |
df=pd.DataFrame(df[0])
|
112 |
df.drop(columns=['Quintal Price'],inplace=True)
|
|
|
106 |
def get_rates():
|
107 |
r = requests.get(f'https://www.kisandeals.com/mandiprices/ALL/TAMIL-NADU/ALL')
|
108 |
soup=BeautifulSoup(r.text,'html.parser')
|
109 |
+
table= soup.find_all('table')
|
110 |
df = pd.read_html(str(table))
|
111 |
df=pd.DataFrame(df[0])
|
112 |
df.drop(columns=['Quintal Price'],inplace=True)
|