Skip to content

Docs needs a quickstart #184

Description

@ahuang11

The "What is this" is quite a bit long to read and takes a while to run.

I recommend showing very simple example with no deps:

import xarray as xr
import xarray_sql as xql

ds = xr.tutorial.open_dataset('air_temperature')
ctx = xql.XarrayContext()
ctx.from_dataset('air', ds, chunks=dict(time=10))
ctx.sql('SELECT MAX(air) FROM air')


# max(air.air)
# --
# 317.40000000000003

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions