Error

'DataFrame' object has no attribute 'copy'

Details

    Traceback (most recent call last):
  File "/opt/acc-bpt/release_2024_03/jinja/build_static_plots.py", line 85, in _create_static_html_content
    output_html_file_path = driver.build(abs_plot_dest_file_html)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_03/acc_bpt/shared/BptV2.py", line 303, in build
    raise ex
  File "/opt/acc-bpt/release_2024_03/acc_bpt/shared/BptV2.py", line 274, in build
    rawdata = self.bptStatic.fetch(vars, times)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_03/acc_bpt/shared/utils_storage.py", line 158, in wrapper_incrementally_cached
    return FetchCacher.fetch_caching_logic(fetch_self=fetch_self, fetch_func=fetch_func,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_03/acc_bpt/shared/utils_storage.py", line 195, in fetch_caching_logic
    res_data = fetch_func(fetch_self, var_defs, time_ranges, True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_03/acc_bpt/sps/sftpro/fiftyHz_FT_distribution.py", line 38, in fetch
    data = self._filter(data)
           ^^^^^^^^^^^^^^^^^^
  File "/opt/acc-bpt/release_2024_03/acc_bpt/sps/sftpro/fiftyHz_FT_distribution.py", line 62, in _filter
    df_final = data.copy()
               ^^^^^^^^^
  File "/opt/acc-bpt/release_2024_03/venv/lib/python3.11/site-packages/pyspark/sql/dataframe.py", line 3123, in __getattr__
    raise AttributeError(
AttributeError: 'DataFrame' object has no attribute 'copy'

    

Generated 2024-04-03 14:39:41.514448+02:00