data.iloc[0] # first row of data frame (Aleshia Tomkiewicz) - Note a Series data type output. | ||||||||||
data.iloc[1] # second row of data frame (Evan Zigomalas) | ||||||||||
data.iloc[-1] # last row of data frame (Mi Richan) | ||||||||||
# Columns: | ||||||||||
data.iloc[:,0] # first column of data frame (first_name) | ||||||||||
data.iloc[:,1] # second column of data frame (last_name) | ||||||||||
data.iloc[:,-1] # last column of data frame (id)
Multiple columns and rows can be selected together using the .iloc indexer.
|
embedded system,Arduino,Raspberry pi,ARM7,MM32,STM32,PIC and Python,Django,Datascience and web development
Wednesday, February 2, 2022
how to use pandas iloc
Subscribe to:
Post Comments (Atom)
-
After doing different projects on different micro controller i started working with Quectel EC25 driver( 4g LTE) and mc60 and m66. EC2...
-
this is the post explains about the how to connect the arduino with the servo motor. mainly servo motor having 3 pins 1.5v supply 2.gnd...
No comments:
Post a Comment