Error

Incompatible merge dtype, datetime64[ns, tzutc()] and dtype('O'), both sides must have numeric dtype

Details

    Traceback (most recent call last):
  File "/opt/acc-bpt/release_2023_04/jinja/create_index.py", line 357, in _create_static_content
    mod.run(static_config)
  File "/opt/acc-bpt/acc-bpt-dev/acc_bpt/ad_elena/PBAR/week/script_pbar_intensity.py", line 26, in run
    driver.build()
  File "/opt/acc-bpt/acc-bpt-dev/acc_bpt/shared/BptV2.py", line 252, in build
    raise ex
  File "/opt/acc-bpt/acc-bpt-dev/acc_bpt/shared/BptV2.py", line 223, in build
    rawdata = self.bptStatic.fetch(vars, times)
  File "/opt/acc-bpt/acc-bpt-dev/acc_bpt/shared/utils_storage.py", line 371, in wrapper_incrementally_cached
    return FetchCacher.fetch_caching_logic(fetch_self=fetch_self, fetch_func=fetch_func,
  File "/opt/acc-bpt/acc-bpt-dev/acc_bpt/shared/utils_storage.py", line 406, in fetch_caching_logic
    res_data = fetch_func(fetch_self, var_defs, time_ranges, True)
  File "/opt/acc-bpt/acc-bpt-dev/acc_bpt/ad_elena/shared/ad_elena_intensity.py", line 296, in fetch
    pd_merge_AD = pd.merge_asof(pd_merge_AD, pd_data_RP, left_index=True, right_index=True, suffixes=('', '_RP'), direction = 'forward')
  File "/opt/acc-bpt/release_2023_04/venv/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 583, in merge_asof
    op = _AsOfMerge(
  File "/opt/acc-bpt/release_2023_04/venv/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 1825, in __init__
    _OrderedMerge.__init__(
  File "/opt/acc-bpt/release_2023_04/venv/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 1726, in __init__
    _MergeOperation.__init__(
  File "/opt/acc-bpt/release_2023_04/venv/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 685, in __init__
    self.left_on, self.right_on = self._validate_left_right_on(left_on, right_on)
  File "/opt/acc-bpt/release_2023_04/venv/lib/python3.9/site-packages/pandas/core/reshape/merge.py", line 1894, in _validate_left_right_on
    raise MergeError(
pandas.errors.MergeError: Incompatible merge dtype, datetime64[ns, tzutc()] and dtype('O'), both sides must have numeric dtype

    

Generated 2023-03-31 00:07:21.245996+02:00