Example #1
0
 def wrapper_checker(database, column_name, bot_qu, top_qu):
     _CheckInput._check_database_input(database)
     _CheckInput._check_column_name(column_name)
     _CheckInput._check_column_in_database(column_name, database)
     _CheckInput._check_boundaries(top_qu)
     _CheckInput._check_boundaries(bot_qu)
     return func(database, column_name, bot_qu, top_qu)
 def wrapper_checker(train, test, column_name):
     _CheckInput._check_database_input(train)
     _CheckInput._check_database_input(test)
     _CheckInput._check_column_name(column_name)
     _CheckInput._check_column_in_database(column_name, train)
     _CheckInput._check_column_in_database(column_name, test)
     return func(train, test, column_name)
 def wrapper_checker(database,
                     column_name,
                     category_name="other",
                     threshold=0.01):
     _CheckInput._check_database_input(database)
     _CheckInput._check_column_name(column_name)
     _CheckInput._check_column_name(category_name)
     _CheckInput._check_column_in_database(column_name, database)
     _CheckInput._check_threshold(threshold)
     return func(database, column_name, category_name, threshold)
Example #4
0
 def wrapper_checker(database,
                     locations_column,
                     feature,
                     title=None,
                     color_bar_title=None):
     _CheckInput._check_database_input(database)
     _CheckInput._check_column_in_database(locations_column, database)
     _CheckInput._check_column_in_database(feature, database)
     _CheckInput._check_column_name(title)
     _CheckInput._check_column_name(color_bar_title)
     func(database, locations_column, feature, title, color_bar_title)
Example #5
0
 def wrapper_checker(database, column_name):
     _CheckInput._check_database_input(database)
     _CheckInput._check_column_name(column_name)
     _CheckInput._check_type_date_time(database, column_name)
     _CheckInput._check_column_in_database(column_name, database)
     return func(database, column_name)
 def wrapper_checker(database, column_name):
     _CheckInput._check_database_input(database)
     _CheckInput._check_column_name(column_name)
     _CheckInput._check_column_in_database(column_name, database)
     func(database, column_name)
 def wrapper_checker(database, column_name, categories_to_drop):
     _CheckInput._check_database_input(database)
     _CheckInput._check_column_name(column_name)
     _CheckInput._check_column_in_database(column_name, database)
     _CheckInput._check_list_tuple_None(categories_to_drop)
     func(database, column_name, categories_to_drop)