You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pandas v2.2.3 raising DeprecationWarning: The 'fastpath' keyword in pd.Series is deprecated and will be removed in a future version. for ASAMMDF v8.0.1
#1100
Open
BdSCunha opened this issue
Nov 19, 2024
· 1 comment
('python=3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]')
'os=Windows-10-10.0.19045-SP0'
'numpy=1.23.5'
ldf is not supported
xls is not supported
yaml is not supported
'asammdf=8.0.1'
Code
MDF version
3.00
Code snippet
The warning is raised by just running pytest on Windows PowerShell or Command Prompt
Traceback
(.venv) C:\Users\Public\Desktop\project>pytest==================================================================================== test session starts ====================================================================================platform win32 -- Python 3.11.9, pytest-8.3.3, pluggy-1.5.0rootdir: C:\Users\Public\Desktop\project configfile:testpaths: testscollected 79 itemstests\test_module_1.py ... [ 3%]tests\test_module_2.py ..... [ 10%]tests\test_module_3.py ..... [ 16%]tests\test_module_4.py ............................................. [ 73%]tests\test_module_5.py ...... [ 81%]tests\test_module_6.py .. [ 83%]tests\test_module_7.py ........... [ 97%]tests\test_module_8.py . [ 98%]tests\test_module_9.py . [100%]===================================================================================== warnings summary ====================================================================================== .venv\Lib\site-packages\asammdf\mdf.py:4634: 71 warningstests/test_module_1.py: 18 warningstests/test_module_2.py: 5 warningstests/test_module_3.py: 7 warningstests/test_module_5.py: 30 warningstests/test_module_8.py: 6 warnings c:\Users\Public\Desktop\project\.venv\Lib\site-packages\asammdf\mdf.py:4634: DeprecationWarning: The 'fastpath' keyword in pd.Series is deprecated and will be removed in a future version. df[channel_name] = pd.Series(sig.samples, index=sig_index, fastpath=True)-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html============================================================================= 79 passed, 137 warnings in 5.86s ==============================================================================
Description
I updated ASAMMDF from v7.3.12 to the lastest v8.0.1, and by just running pytest in my project's root folder, Pandas raised the warning:
C:\Users\Public\Desktop\project.venv\Lib\site-packages\asammdf\mdf.py:4634: DeprecationWarning: The 'fastpath' keyword in pd.Series is deprecated and will be removed in a future version.
df[channel_name] = pd.Series(sig.samples, index=sig_index, fastpath=True)
asammdf/requirements.txt file does not specify a Pandas version to be used:
Python version
('python=3.11.9 (tags/v3.11.9:de54cf5, Apr 2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]')
'os=Windows-10-10.0.19045-SP0'
'numpy=1.23.5'
ldf is not supported
xls is not supported
yaml is not supported
'asammdf=8.0.1'
Code
MDF version
3.00
Code snippet
The warning is raised by just running
pytest
on Windows PowerShell or Command PromptTraceback
Description
I updated ASAMMDF from v7.3.12 to the lastest v8.0.1, and by just running
pytest
in my project's root folder, Pandas raised the warning:asammdf/requirements.txt
file does not specify a Pandas version to be used:And the release notes of Pandas v2.2.0 - Other Deprecations specify the item:
The text was updated successfully, but these errors were encountered: