输入/输出#

平面文件#

read_csv(路径[, 名称, 分隔符, 索引列, ...])

将逗号分隔值(csv)文件读取到DataFrame中。

Parquet#

read_parquet(路径[, 引擎, 列, ...])

从文件路径加载一个parquet对象,并返回一个DataFrame。

SQL#

read_sql(sql, con[, index_col, ...])

将SQL查询或数据库表读取为DataFrame。

read_sql_table(table_name, con[, schema, ...])

将SQL数据库表读取到DataFrame中。

read_sql_query(sql, con[, index_col, ...])

将SQL查询读取到DataFrame中。