Comments (3)
Hi Jorge,
There is no explicit filtering out if NaNs, but NaNs are sometimes require a bit special handling. I will have a look why this behaviour you observed is happening.
from h3ronpy.
I just tried to reproduce the issue you encountered and was not able to run into the same problem. See the unittests I added in the commit above. I stumbled over the missing pandas dropna=False
parameter first, though. Pandas seems to drop the NaNs in the default configuration of value_counts
.
Could you please try to run these tests to see if they produce a different result?
from h3ronpy.
Yeah I realised there was an issue with the raster. Your tests were great thanks!
from h3ronpy.
Related Issues (20)
- h3ronpy : python 3.7 build issue HOT 2
- Raster_to_geodataframe Plotting inconsistent Hex Resolution HOT 3
- Build docs on readthedocs
- Conversion from ndarray to h3 DataFrame throws unspecified error in h3ron.h3ron HOT 3
- Build wheels for more architectures
- cells_parse fails due to unexpected array type when using polars
- Points aren't properly parsed into H3 cells HOT 4
- Import failure on M1 MacBook Pro HOT 6
- Question: Best way to convert Polars series of Lat/Lng to H3 cells HOT 5
- integration with the `polars` api HOT 6
- implement `vertexes_parse` and `directededges_parse`
- Create `change_resolution_list` function
- Illegal instruction (core dumped) on Ubuntu HOT 2
- ArrowIndexError: Negative buffer slice length HOT 10
- Question: Lazy coordinates_to_cells HOT 2
- geodataframe_to_cells issue HOT 7
- Move to official arrow bindings
- h3 library version 3.7, is there a plan to update for version 4.0? HOT 1
- Bounds check fail for global raster HOT 3
- local ij - methods request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h3ronpy.