@@ -75,7 +75,7 @@ def test_remove_non_word_characters_nice_error():
75
75
76
76
Here's the nicely formatted error message:
77
77
78
- ![ ColumnsNotEqualError] ( https://github. com/MrPowers/chispa/blob /main/images/columns_not_equal_error.png )
78
+ ![ ColumnsNotEqualError] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/columns_not_equal_error.png )
79
79
80
80
You can see the ` matt7 ` / ` matt ` row of data is what's causing the error (note it's highlighted in red). The other rows are colored blue because they're equal.
81
81
@@ -143,7 +143,7 @@ def test_remove_non_word_characters_long_error():
143
143
144
144
Here's the nicely formatted error message:
145
145
146
- ![ DataFramesNotEqualError] ( https://github. com/MrPowers/chispa/blob /main/images/dfs_not_equal_error.png )
146
+ ![ DataFramesNotEqualError] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/dfs_not_equal_error.png )
147
147
148
148
### Ignore row order
149
149
@@ -181,7 +181,7 @@ assert_df_equality(df1, df2, ignore_row_order=True)
181
181
182
182
If you don't specify to ` ignore_row_order ` then the test will error out with this message:
183
183
184
- ![ ignore_row_order_false] ( https://github. com/MrPowers/chispa/blob /main/images/ignore_row_order_false.png )
184
+ ![ ignore_row_order_false] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/ignore_row_order_false.png )
185
185
186
186
The rows aren't ordered by default because sorting slows down the function.
187
187
@@ -221,7 +221,7 @@ assert_df_equality(df1, df2, ignore_column_order=True)
221
221
222
222
Here's the error message you'll see if you run ` assert_df_equality(df1, df2) ` , without ignoring the column order.
223
223
224
- ![ ignore_column_order_false] ( https://github. com/MrPowers/chispa/blob /main/images/ignore_column_order_false.png )
224
+ ![ ignore_column_order_false] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/ignore_column_order_false.png )
225
225
226
226
### Ignore nullability
227
227
@@ -253,7 +253,7 @@ And this `df2`:
253
253
254
254
You might be surprised to find that in this example, ` df1 ` and ` df2 ` are not equal and will error out with this message:
255
255
256
- ![ nullable_off_error] ( https://github. com/MrPowers/chispa/blob /main/images/nullable_off_error.png )
256
+ ![ nullable_off_error] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/nullable_off_error.png )
257
257
258
258
Examine the code in this contrived example to better understand the error:
259
259
@@ -358,7 +358,7 @@ def test_shows_assert_basic_rows_equality(chispa_formats):
358
358
assert_basic_rows_equality(df1.collect(), df2.collect(), formats = chispa_formats)
359
359
```
360
360
361
- ![ custom_formats] ( https://github. com/MrPowers/chispa/blob /main/images/custom_formats.png )
361
+ ![ custom_formats] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/custom_formats.png )
362
362
363
363
## Approximate column equality
364
364
@@ -394,7 +394,7 @@ def test_approx_col_equality_different():
394
394
395
395
This failing test will output a readable error message so the issue is easy to debug.
396
396
397
- ![ ColumnsNotEqualError] ( https://github. com/MrPowers/chispa/blob /main/images/columns_not_approx_equal.png )
397
+ ![ ColumnsNotEqualError] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/columns_not_approx_equal.png )
398
398
399
399
## Approximate DataFrame equality
400
400
@@ -448,7 +448,7 @@ def test_approx_df_equality_different():
448
448
449
449
Here's the pretty error message that's outputted:
450
450
451
- ![ DataFramesNotEqualError] ( https://github. com/MrPowers/chispa/blob /main/images/dfs_not_approx_equal.png )
451
+ ![ DataFramesNotEqualError] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/dfs_not_approx_equal.png )
452
452
453
453
## Schema mismatch messages
454
454
@@ -479,7 +479,7 @@ def test_schema_mismatch_message():
479
479
480
480
Here's the error message:
481
481
482
- ![ SchemasNotEqualError] ( https://github. com/MrPowers/chispa/blob /main/images/schemas_not_approx_equal.png )
482
+ ![ SchemasNotEqualError] ( https://raw.githubusercontent. com/MrPowers/chispa/main/images/schemas_not_approx_equal.png )
483
483
484
484
## Supported PySpark / Python versions
485
485
0 commit comments