We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16eb042 commit 95be963Copy full SHA for 95be963
requirements.txt
@@ -1 +1 @@
1
-numpy
+numpy>=1.22.0
tests/test_export.py
@@ -1,4 +1,5 @@
import json
2
+import warnings
3
4
import pandas as pd
5
import pytest
@@ -72,6 +73,11 @@ def test_export_to_dataframe(zmap_object):
72
73
74
75
def test_export_to_pandas(zmap_object):
- df = zmap_object.to_dataframe()
76
+ df = zmap_object.to_pandas()
77
assert type(df) == pd.DataFrame
78
assert df.describe().loc["mean"]["X"] == 100.0
79
+
80
81
+def test_export_to_dataframe_capture_warning(zmap_object):
82
+ with pytest.warns(UserWarning):
83
+ warnings.warn("renamed to to_pandas", UserWarning)
zmapio/__version__.py
-__version__ = "0.8.0"
+__version__ = "0.8.1"
0 commit comments