async def _load(self):
flags = self._kwargs.get('<STR_LIT>')<EOL>if not flags:<EOL><INDENT>flags = {<NUM_LIT:1>: {}}<EOL><DEDENT>cols = {k: [] for k in flags.keys()}<EOL>with open(self._file_path, newline='<STR_LIT>', encoding='<STR_LIT:utf-8>') as f:<EOL><INDENT>reader = csv.reader(f)<EOL>for row in reader:<EOL><INDENT>for i, col in cols.items():<EOL><INDENT>try:<EOL><INDENT>val = row[i].strip()<EOL>assert val<EOL><DEDENT>except (IndexError, AssertionError):<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>col.append((row[<NUM_LIT:0>], val))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>for i, col in cols.items():<EOL><INDENT>self._update({self._locale: col}, flags[i])<EOL><DEDENT>
Load data from a Excel-formatted CSV file.