I'm trying to read a column named Goods_Issue_Date_(GID)
How can I read this?
I tried:
Df.Goods_Issue_Date_(GID)
Returns Invalid Syntax
I'm trying to read a column named Goods_Issue_Date_(GID)
How can I read this?
I tried:
Df.Goods_Issue_Date_(GID)
Returns Invalid Syntax
Using the following dataframe as an example
data = [['Carrots', "Tuesday"], ['Apples', "Monday"], ['Pears', "Sunday"]]
df = pd.DataFrame(data, columns = ['Product', 'Goods_Issue_Date_(GID)'])
df.head()
Product Goods_Issue_Date_(GID)
0 Carrots Tuesday
1 Apples Monday
2 Pears Sunday
You can select the Goods_Issue_Date_(GID)
column like so
df['Goods_Issue_Date_(GID)']
0 Tuesday
1 Monday
2 Sunday
Name: Goods_Issue_Date_(GID), dtype: object