Data analysis with python and Pandas - Select rows and column Tutorial 9
Hi Guys checkout my udemy course at just 9.99$ https://www.udemy.com/data-science-with-python-and-pandas/?couponCode=KNOWLEDGE_IS_POWER https://www.udemy.com/manipulate-excel-file-from-python-openpyxl/?couponCode=KNOWLEDGE_IS_POWER https://www.udemy.com/learn-docker-from-scratch/?couponCode=KNOWLEDGE_IS_POWER https://www.udemy.com/learn-in-memory-database-redis-from-scratch/?couponCode=KNOWLEDGE_IS_POWER https://www.udemy.com/learn-event-processing-with-logstash-elk-stack/?couponCode=KNOWLEDGE_IS_POWER https://www.udemy.com/machine-learning-and-bigdata-analysis-with-apache-spark-python-pyspark/?couponCode=KNOWLEDGEISPOWER https://www.udemy.com/data-science-and-machine-learning-in-r-programming/?couponCode=KNOWLEDGE_IS_POWER Visit complete course on Data Science with Python : https://www.udemy.com/data-science-with-python-and-pandas/?couponCode=YTSOCIAL090 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-with-python-and-pandas/?couponCode=KNOWLEDGE_IS_POWER
Download
0 formatsNo download links available.