You can work either for files with a common restriction, the difference is the default settings, for example sep, the tab for read_table, but ,for read_csv. They are both implemented equally under
If you look at the source
:
read_csv = _make_parser_function('read_csv', sep=',')
read_csv = Appender(_read_csv_doc)(read_csv)
read_table = _make_parser_function('read_table', sep='\t')
read_table = Appender(_read_table_doc)(read_table)
_make_parser_function:
def _make_parser_function(name, sep=','):
- , sep arg