Assistance with Python

@HareeshMR, @pathrudu
Can anyone help me with this. I am trying to run the python code and receive the below error:

Traceback (most recent call last):
File “C:\Users\gnaneshwaripinna\Desktop\RPA\For-Rashmi\For-Rashmi-All-datasets\Award_Ranking_Dataset\Award_Ranking_Dataset\Code\”, line 906, in
if PYS[0]<PYS1[0]:
File “C:\Users\gnaneshwaripinna\AppData\Roaming\Python\Python36\site-packages\lib\site-packages\pandas\core\”, line 868, in getitem
result = self.index.get_value(self, key)
File “C:\Users\gnaneshwaripinna\AppData\Roaming\Python\Python36\site-packages\lib\site-packages\pandas\core\indexes\”, line 4375, in get_value
tz=getattr(series.dtype, ‘tz’, None))
File “pandas_libs\index.pyx”, line 81, in pandas._libs.index.IndexEngine.get_value
File “pandas_libs\index.pyx”, line 89, in pandas._libs.index.IndexEngine.get_value
File “pandas_libs\index.pyx”, line 132, in pandas._libs.index.IndexEngine.get_loc
File “pandas_libs\hashtable_class_helper.pxi”, line 987, in pandas._libs.hashtable.Int64HashTable.get_item
File “pandas_libs\hashtable_class_helper.pxi”, line 993, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: 0

If you are using load python script activity now, try using run python script if the code is working fine in local IDE @Gnaneshwari_Pinna

Seems to be an error in the Python code.
Re-compile the code once.

@HareeshMR, @Rahul_Pasupuleti, thank you. Issue is now resolved. I was supposed to convert these to lists