Documentation for almost_equals/equals is not correct
See original GitHub issueThe binary predicate check almost_equals is actually geom_almost_equals. The documentation indicates just almost_equals. It results in the error:
AttributeError: 'GeoSeries' object has no attribute 'almost_equals'
Some related notes:
- I’m noticing that in the reference.rst on GH that it’s referenced as
geom_almost_equals. equals()andgeom_equals()behaves differently. The documentation only indicates the former and thatequals()should be a per-object comparison returning aboolSeries but I’m seeing just oneboolas an output (like an aggregate) whereasgeom_equalsreturns aboolSeries. Is that expected behavior?
EDIT: Using Python 3.6 and Geopandas 0.3.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
equals is True but almost_equals is False · Issue #889 - GitHub
But the almost_equals method, on the other hand, checks if two objects are structurally equal. This method uses exact coordinate equality, which ...
Read more >5 Ways to Insert the Approximately Equal or Almost Equal ...
1. Inserting the approximately equal to or almost equal to symbol using Insert Symbol · Position the cursor in the Word document where...
Read more >Equals sign - Wikipedia
The equals sign (British English, Unicode) or equal sign (American English), also known as the equality sign, is the mathematical symbol =, which...
Read more >Equality comparisons and sameness - JavaScript | MDN
Strict equality is almost always the correct comparison operation to use. For all values except numbers, it uses the obvious semantics: a value ......
Read more >pandas.testing.assert_frame_equal - DataFrame
Check that left and right DataFrame are equal. This function is intended to compare two DataFrames and output any differences. It is mostly...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes, that page is defaulting to the latest released, the ‘latest’ (the link I showed) is the development version.
Closing this then
Ah yes - looks like it’s fixed in the latest docs - I was looking at v0.3.0 or maybe more specifically the one here: http://geopandas.org/reference.html (which I would’ve thought defaulted to the latest)