Git Product home page Git Product logo

Comments (3)

ion-elgreco avatar ion-elgreco commented on August 28, 2024 2

@MarcoGorelli ah oops, I missed that report, only just saw the issue on my repo now.

I'll pass the original name of the series back then instead

from pyo3-polars.

MarcoGorelli avatar MarcoGorelli commented on August 28, 2024 1

thanks - @ion-elgreco you may want to not name the output "neighbours" here

https://github.com/ion-elgreco/polars-hash/blob/618d53ee7905b080e2f57de0fe27a684e9bc386f/polars_hash/polars_hash/src/geohashers.rs#L102-L114

then, else the lazy schema will be incorrect

check this report from the discord:

When I run the following lazily:

import polars_hash as plh

(pl.from_dicts({'h1':'sp1xk2m6194y'})
 # .lazy()
 .with_columns(plh.col('h1').geohash.neighbors())
 .unnest('h1')
 .select(pl.concat_list('n', 'ne'))
 # .fetch()
)

I get: SchemaError: expected struct dtype, got: 'str'

from pyo3-polars.

ritchie46 avatar ritchie46 commented on August 28, 2024

Functions are not really allowed to change names. We follow the left hand rule and of course alias.

from pyo3-polars.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.