Data analysis with python and Pandas - Select rows and column Tutorial 9

Published: 09 August 2016
on channel: MyStudy
78,983
740

Hi Guys checkout my udemy course at just 9.99$

https://www.udemy.com/data-science-wi...

https://www.udemy.com/manipulate-exce...

https://www.udemy.com/learn-docker-fr...

https://www.udemy.com/learn-in-memory...

https://www.udemy.com/learn-event-pro...

https://www.udemy.com/machine-learnin...

https://www.udemy.com/data-science-an...


Visit complete course on Data Science with Python :

https://www.udemy.com/data-science-wi...

For All other visit my udemy profile at :

https://www.udemy.com/user/ankitmistry/


This tutorial will explain how to select individual row, or column and cell or group of cell of DataFrame object in python pandas.


import pandas as pd

# Read File
df = pd.read_csv('train.csv')
df.head()


# Select one column
df['Name']


# Select more than one column
df.columns
df[['Name','Fare']]


# Select one Row or more than one row
df.iloc[5]
df.head(6)
df.iloc[423:425]


# Select Cell
df.head()
df.iloc[1,3]
df.iloc[500:600,3]


For full course on Data Science with python pandas at just 9.99$ check

https://www.udemy.com/data-science-wi...


Watch video Data analysis with python and Pandas - Select rows and column Tutorial 9 online without registration, duration hours minute second in high quality. This video was added by user MyStudy 09 August 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 78,983 once and liked it 740 people.