tree: efc7afa8e80a411ebd646e019cf1a63dfc8ecb74 [path history] [tgz]
  1. python/
  2. src/
  3. tests/
  4. .gitignore
  5. Cargo.toml
  6. pyproject.toml
  7. README.md
python/sedonadb/README.md

SedonaDB Python

This package is a Python interface to SedonaDB.

Installation

SedonaDB for Python can be installed from PyPI:

pip install "apache-sedona[db]"

Example

import sedona.db

sd = sedona.db.connect()
sd.options.interactive = True

url = "https://raw.githubusercontent.com/geoarrow/geoarrow-data/v0.2.0/natural-earth/files/natural-earth_cities_geo.parquet"
sd.read_parquet(url).head(5)