October 2019
Beginner to intermediate
674 pages
16h 43m
English
Only a selected list of columns can be subsetted and loaded using the usecols parameter while reading:
data=pd.read_csv('Tab Customer Churn Model.txt',sep='/t',usecols=[1,3,5])data=pd.read_csv('Tab Customer Churn Model.txt',sep='/t',usecols=['VMail Plan','Area Code'])
Numeric lists, as well as explicit lists with column names, can be used. Numeric indexing follows Python indexing, that is, starting from 0.
Read now
Unlock full access