Comments (4)
This would be a great feature. It may sound counterintuitive to want to compare two dataframes but it comes up often.
For example, if I want to compare data read from a blob file and data from a database table the read statements will often times infer the schemas differently. It is a pain having to mainly define the schemas just so the assert statement will pass.
Would love to see this feature merged.
from chispa.
@MrPowers would you like to share your thoughts on this?
from chispa.
@MrPowers Any updates on this? Seems to be pretty useful
from chispa.
I merged this, thanks for the contribution. Try out v0.9.2 and let me know if it works as intended. Thanks!
from chispa.
Related Issues (20)
- Flatten dataframe HOT 2
- Highlight mismatching values
- Fix the badges in the project README HOT 1
- The it_does_not_throw_with_different_schema test exposes a bug HOT 17
- pkg_resources is deprecated, prettytable produces warning HOT 1
- Reconfigure CI to run tests on pull requests
- Run tests for multiple PySpark versions in CI HOT 5
- Refactor code to conform to PEP8 HOT 5
- Font colors in error messages are bad in some terminals HOT 1
- ignore_schema in assert_df_equality removed in 9.3? HOT 6
- assert_df_equality throws SchemasNotEqualError when the dataframes are identical (except for the metadata) HOT 3
- Replace poetry dev-dependencies with dependency groups HOT 2
- Add unit tests to highlight limitations of this library HOT 1
- Make proper StructField comparer and DataType comparer abstractions
- Give user control to customize output formatting HOT 2
- SchemaNotEqualError not showing the difference in metadata
- Issues on Python 3.10 due to six 1.15.0 HOT 4
- Unit tests are only run against a single version of Python on the `main` branch.
- underline_cells failing if dataframes are different lengths HOT 1
- assert None while ignore_metadata=True
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 chispa.