# -*- coding: utf-8 -*-
"""
Created on Mon Jul 23 12:33:57 2018

@author: nandavari
"""

import pandas as pd
#from Ipython.display import display
data=pd.read_csv('AApl.csv')
print(data)
print('original feature:\n',list(data.columns),'\n')
data_dummies=pd.get_dummies(data)
print('feature after one-hotEncoding:\n',list(data_dummies.columns))
ff36ff972bb9c68327e5f234ffd0679fdf4fc1a0
<mask token>

<mask token>
print(data)
print('original feature:\n', list(data.columns), '\n')
<mask token>
print('feature after one-hotEncoding:\n', list(data_dummies.columns))

<mask token>
data = pd.read_csv('AApl.csv')
print(data)
print('original feature:\n', list(data.columns), '\n')
data_dummies = pd.get_dummies(data)
print('feature after one-hotEncoding:\n', list(data_dummies.columns))

<mask token>
import pandas as pd
data = pd.read_csv('AApl.csv')
print(data)
print('original feature:\n', list(data.columns), '\n')
data_dummies = pd.get_dummies(data)
print('feature after one-hotEncoding:\n', list(data_dummies.columns))

# -*- coding: utf-8 -*-
"""
Created on Mon Jul 23 12:33:57 2018

@author: nandavari
"""

import pandas as pd
#from Ipython.display import display
data=pd.read_csv('AApl.csv')
print(data)
print('original feature:\n',list(data.columns),'\n')
data_dummies=pd.get_dummies(data)
print('feature after one-hotEncoding:\n',list(data_dummies.columns))