mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Use _append instead of append since it's still available after 2.0 of pandas (#603)
This commit is contained in:
parent
6a4fd511cc
commit
36b941e336
@ -134,7 +134,8 @@ class TestPandasToEland:
|
||||
|
||||
# Assert that the second pandas dataframe is actually appended
|
||||
assert df2.shape == (6, 4)
|
||||
pd_df3 = pd_df.append(pd_df2)
|
||||
# use the "private" append method that's still available in pandas 2.0
|
||||
pd_df3 = pd_df._append(pd_df2)
|
||||
assert_pandas_eland_frame_equal(pd_df3, df2)
|
||||
|
||||
def test_es_if_exists_append_mapping_mismatch_schema_enforcement(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user