O01
user_1718919
plain_text
a year ago
1.5 kB
7
Indexable
2024-12-18 10:53:35,770 - ERROR -
Error during processing: module 'pandas.core.common' has no attribute 'SettingWithCopyWarning'
Traceback (most recent call last):
File "C:\Users\mayur.kripalani\AppData\Local\Temp\ipykernel_16796\3007021869.py", line 235, in <module>
setup_logging()
File "C:\Users\mayur.kripalani\AppData\Local\Temp\ipykernel_16796\3543834221.py", line 22, in setup_logging
warnings.filterwarnings('ignore', category=pd.core.common.SettingWithCopyWarning)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pandas.core.common' has no attribute 'SettingWithCopyWarning'
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[5], line 235
232 if __name__ == "__main__":
233 try:
234 # Setup logging
--> 235 setup_logging()
237 # Get current directory and setup paths
238 current_dir = os.getcwd()
Cell In[1], line 22, in setup_logging(log_file)
13 logging.basicConfig(
14 level=logging.INFO,
15 format='%(asctime)s - %(levelname)s - %(message)s',
(...)
19 ]
20 )
21 # Suppress pandas warning about copy operations
---> 22 warnings.filterwarnings('ignore', category=pd.core.common.SettingWithCopyWarning)
AttributeError: module 'pandas.core.common' has no attribute 'SettingWithCopyWarning'Editor is loading...
Leave a Comment