Skip to content

Instantly share code, notes, and snippets.

@AshHimself
AshHimself / part_4_json_output.json
Created September 18, 2020 14:39
part_4_json_output.json
{
"success": false,
"results": [
{
"expectation_config": {
"kwargs": {
"column_list": [
"flight_number",
"date",
"time_utc",
df_ge = ge.dataset.PandasDataset(df) #Load pd dataframe into great_expectations (GE)
#Define a rule to define the order and fields that should exist
df_ge.expect_table_columns_to_match_ordered_list(['flight_number',
'date',
'time_utc',
'booster_version',
'launch_site',
'payload',
'customer',