python pandas 对各种文件的读写 IO tools
2016-12-09 07:48
447 查看
The pandas I/O API is a set of top level
read_csv
read_excel
read_hdf
read_sql
read_json
read_msgpack (experimental)
read_html
read_gbq (experimental)
read_stata
read_sas
read_clipboard
read_pickle
The corresponding
to_csv
to_excel
to_hdf
to_sql
to_json
to_msgpack (experimental)
to_html
to_gbq (experimental)
to_stata
to_clipboard
to_pickle
Here is an informal performance comparison for some of these IO methods.
http://pandas.pydata.org/pandas-docs/stable/io.html
readerfunctions accessed like
pd.read_csv()that generally return a
pandasobject.
read_csv
read_excel
read_hdf
read_sql
read_json
read_msgpack (experimental)
read_html
read_gbq (experimental)
read_stata
read_sas
read_clipboard
read_pickle
The corresponding
writerfunctions are object methods that are accessed like
df.to_csv()
to_csv
to_excel
to_hdf
to_sql
to_json
to_msgpack (experimental)
to_html
to_gbq (experimental)
to_stata
to_clipboard
to_pickle
Here is an informal performance comparison for some of these IO methods.
http://pandas.pydata.org/pandas-docs/stable/io.html
相关文章推荐
- python pandas IO tools 之read_csv文件读写参数详解
- python pandas IO tools 之read_csv文件读写参数详解
- python用pandas工具包来处理.csv文件,包括读写和切片。
- python学习——IO编程——文件读写
- 快速入门Python中文件读写IO是如何来操作外部数据的?
- Python之pandas读写文件乱码的解决方法
- Python之IO编程——文件读写、StringIO/BytesIO、操作文件和目录、序列化
- Python中的文件IO操作(读写文件、追加文件)
- python学习笔记 IO 文件读写
- Python笔记-IO同步和异步、 读写文件、StringIO和BytesIO
- 【Python学习笔记】IO编程:文件读写
- Python文件读写IO操作
- Python中的文件IO操作(读写文件、追加文件)
- Python读写文件的方法,及其读写(IO)的几种模式,
- Python3 pandas read_csv 读取txt文件报错:IOError: Initializing from file failed
- 【Python】[IO编程]文件读写,StringIO和BytesIO,操作文件和目录,序列化
- Python的IO操作之文件读写与序列化
- Python字符集编码和文件读写
- Python文件的读写
- IO读写文件/目录 的简单例子