import pandas as pd
a = pd.DataFrame({'A':[0,1,0,1,0],'B':[True, True, False, False, False]})
print a
# A B
# 0 0 True
# 1 1 True
# 2 0 False
# 3 1 False
# 4 0 False
a.to_pickle('my_file.pkl')
b = pd.read_pickle('my_file.pkl')
print b
# A B
# 0 0 True
# 1 1 True
# 2 0 False
# 3 1 False
# 4 0 False
Monday, November 23, 2015
How to Save DataFrame in Disk
Sunday, November 22, 2015
How To Read CSV File into Python
import pandas as pd
ctd = pd.read_csv('rpc_mod/ctix_mod_data5.csv')
ctd = pd.read_csv('rpc_mod/ctix_mod_data5.csv')
How to Read Query Output Into A Data Frame
Saturday, November 21, 2015
IPython Notebook Can't Display Graphs
If your IPython can't display graphs, all you need to do is to add the following statement:
%matplotlib inline
%matplotlib inline
Thursday, September 24, 2015
Free eBooks On Data Mining, Statistics and Predictive Modeling
1. Theory and Applications for Advanced Text Mining
by Shigeaki Sakurai (ed.) - InTech , 2012
Text mining techniques are studied aggressively in order to extract the knowledge from the data. This book introduces advanced text mining techniques. There are various techniques from relation extraction to under or less resourced language.
by Shigeaki Sakurai (ed.) - InTech , 2012
Text mining techniques are studied aggressively in order to extract the knowledge from the data. This book introduces advanced text mining techniques. There are various techniques from relation extraction to under or less resourced language.
Sunday, September 20, 2015
Top 10 Books on Predictive Analytics and Data Modeling
Sunday, September 13, 2015
What is the Difference Between Training, Validation and Test Set?
Subscribe to:
Posts (Atom)