Import Data
General Info
Useful Snippets

2.0.7 Import limited set of columns from text file

Example:

import pandas as pd

# Specify specific column names to be imported
DF = pd.read_csv("/Path/to/your/data.csv"
                ,  usecols = ['pclass', 'survived' , 'name'] ) # use 'usecols', and specify a list of columns to import