Multiple errors on python script with panda package

Hi, new to python getting some errors with regards to my panda package but i don’t know what the issue is.
Please see errors below:

,
C:\Users\lgf78\Documents\SAR\email_reporting_name_only.py:190: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
,

See the caveats in the documentation: Indexing and selecting data — pandas 1.5.2 documentation
selected_cases[‘day’] = pd.to_datetime(selected_cases[‘day’])

,
C:\Users\lgf78\Documents\SAR\email_reporting_name_only.py:191: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
,

See the caveats in the documentation: Indexing and selecting data — pandas 1.5.2 documentation
selected_cases[‘date’] = np.where(selected_cases[‘30_minute_spans’] == 1,

,
C:\Users\lgf78\Documents\SAR\email_reporting_name_only.py:204: FutureWarning: Indexing with multiple keys (implicitly converted to a tuple of keys) will be deprecated, use a list instead.
num_cases = selected_cases.groupby(‘name’)[
Traceback (most recent call last):
File “C:\Users\lgf78\Documents\SAR\email_reporting_name_only.py”, line 524, in
anomaly_total_df = pd.concat(anomaly_concat, axis=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
,

,
File “C:\Users\lgf78\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\util_decorators.py”, line 331, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
,

,
File “C:\Users\lgf78\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\core\reshape\concat.py”, line 368, in concat
op = _Concatenator(
^^^^^^^^^^^^^^
,

,
File “C:\Users\lgf78\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\core\reshape\concat.py”, line 564, in init
raise ValueError(“No objects to concatenate”)
ValueError: No objects to concatenate
,

Please paste errors, code, or output between “code fences”, lines of
triple backticks, eg:

 ```
 your output text
 goes here
 ```

Without those, indentation and some punctuation will be lost.

We probably need to see the contents of your email_reporting_name_only.py
file to say anything meaningful about the error messages you are getting.

Thanks,
Cameron Simpson cs@cskk.id.au