def import_from_xlsx(<EOL>filename_or_fobj,<EOL>sheet_name=None,<EOL>sheet_index=<NUM_LIT:0>,<EOL>start_row=None,<EOL>start_column=None,<EOL>end_row=None,<EOL>end_column=None,<EOL>workbook_kwargs=None,<EOL>*args,<EOL>**kwargs<EOL>):
workbook_kwargs = workbook_kwargs or {}<EOL>if "<STR_LIT>" not in workbook_kwargs:<EOL><INDENT>workbook_kwargs["<STR_LIT>"] = True<EOL><DEDENT>workbook = load_workbook(filename_or_fobj, **workbook_kwargs)<EOL>if sheet_name is None:<EOL><INDENT>sheet_name = workbook.sheetnames[sheet_index]<EOL><DEDENT>sheet = workbook[sheet_name]<EOL>min_row, min_column = sheet.min_row - <NUM_LIT:1>, sheet.min_column - <NUM_LIT:1><EOL>max_row, max_column = sheet.max_row - <NUM_LIT:1>, sheet.max_column - <NUM_LIT:1><EOL>start_row = start_row if start_row is not None else min_row<EOL>end_row = end_row if end_row is not None else max_row<EOL>start_column = start_column if start_column is not None else min_column<EOL>end_column = end_column if end_column is not None else max_column<EOL>table_rows = []<EOL>is_empty = lambda row: all(cell is None for cell in row)<EOL>selected_rows = sheet.iter_rows(<EOL>min_row=start_row + <NUM_LIT:1>,<EOL>max_row=end_row + <NUM_LIT:1>,<EOL>min_col=start_column + <NUM_LIT:1>,<EOL>max_col=end_column + <NUM_LIT:1>,<EOL>)<EOL>for row in selected_rows:<EOL><INDENT>row = [_cell_to_python(cell) for cell in row]<EOL>if not is_empty(row):<EOL><INDENT>table_rows.append(row)<EOL><DEDENT><DEDENT>source = Source.from_file(filename_or_fobj, plugin_name="<STR_LIT>")<EOL>source.fobj.close()<EOL>metadata = {"<STR_LIT>": "<STR_LIT>", "<STR_LIT:source>": source, "<STR_LIT:name>": sheet_name}<EOL>return create_table(table_rows, meta=metadata, *args, **kwargs)<EOL>
Return a rows.Table created from imported XLSX file.

    workbook_kwargs will be passed to openpyxl.load_workbook