标签:csdn col dataframe self sel **kwargs hdf 文件 style
pandas.DataFrame.to_hdf(self, path_or_buf, key, **kwargs)
df = pd.DataFrame({‘A‘: [1, 2, 3], ‘B‘: [4, 5, 6]}, index=[‘a‘, ‘b‘, ‘c‘]) df.to_hdf(‘data.h5‘, key=‘df‘, mode=‘w‘) s = pd.Series([1, 2, 3, 4]) s.to_hdf(‘data.h5‘, key=‘s‘) pd.read_hdf(‘data.h5‘, ‘df‘) pd.read_hdf(‘data.h5‘, ‘s‘)
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_hdf.html
https://codeday.me/bug/20180823/224468.html
https://blog.csdn.net/Hero_Never_GIVE_UP/article/details/85006835
标签:csdn col dataframe self sel **kwargs hdf 文件 style
原文地址:https://www.cnblogs.com/ljygoodgoodstudydaydayup/p/11420596.html