# Negative domain slicing on Python?

**URL:** <https://forum.tiledb.com/t/negative-domain-slicing-on-python/119>\
**Category:** Uncategorized\
**Created:** [November 14, 2019, 9:31am UTC](https://forum.tiledb.com/t/negative-domain-slicing-on-python/119 "2019-11-14T09:31:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luotzi](https://avatars.discourse-cdn.com/v4/letter/l/848f3c/32.png) [@luotzi](https://forum.tiledb.com/u/luotzi)\
**Post date:** [November 14, 2019, 9:31am UTC](https://forum.tiledb.com/t/negative-domain-slicing-on-python/119/1 "2019-11-14T09:31:51Z")

</div>

Hello,

#202 seems to solve a problem with slicing on negative domains, using the Python bindings ? Which version has / will have that fix?

Thanks  
-luotzi

---

<div class="post-metadata">

**Author:** ![ihnorton](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.tiledb.com/ihnorton/32/23_2.png) [@ihnorton](https://forum.tiledb.com/u/ihnorton)\
**Post date:** [November 14, 2019, 3:45pm UTC](https://forum.tiledb.com/t/negative-domain-slicing-on-python/119/2 "2019-11-14T15:45:01Z")

</div>

Hi @luotzi, yes this feature is available in TileDB-Py 0.5, which was released yesterday and is available from conda or pip (conda has binaries for all platforms, pip currently only has binary wheels for linux).

For usage, please see: [https://docs.tiledb.com/developer/api-usage/reading-arrays/basic-reading#slicing-negative-domains](https://docs.tiledb.com/developer/api-usage/reading-arrays/basic-reading#slicing-negative-domains)

and also: [https://github.com/TileDB-Inc/TileDB-Py/blob/dev/tiledb/tests/test\_domain\_index.py](https://github.com/TileDB-Inc/TileDB-Py/blob/dev/tiledb/tests/test_domain_index.py) (for more examples)
