Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Selecting subset of columns with pandas

import pandas as pd

data = pd.read_excel (r'C:UsersRonDesktopProduct List.xlsx') 
df = pd.DataFrame(data, columns= ['Product'])
print (df)
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #Selecting #subset #columns #pandas
ADD COMMENT
Topic
Name
8+7 =