Skip to content

Commit

Permalink
tests(common.py): changed 'datetime64' to 'datetime64[ns]' (opensearc…
Browse files Browse the repository at this point in the history
…h-project#344)

Signed-off-by: Prikshit7766 <[email protected]>
  • Loading branch information
Prikshit7766 authored Nov 20, 2023
1 parent 7c2528b commit fb858dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
)
_pd_ecommerce.insert(2, "customer_birth_date", None)
_pd_ecommerce.index = _pd_ecommerce.index.map(str) # make index 'object' not int
_pd_ecommerce["customer_birth_date"].astype("datetime64")
_pd_ecommerce["customer_birth_date"].astype("datetime64[ns]")
_oml_ecommerce = oml.DataFrame(OPENSEARCH_TEST_CLIENT, ECOMMERCE_INDEX_NAME)


Expand Down

0 comments on commit fb858dc

Please sign in to comment.