selecionar 5 linhas do dataframe pyhton code example
Example: selecionar colunas loc pandas
df1 = df.iloc[:,0:2] # Remember that Python does not slice inclusive of the ending index.
df1 = df.iloc[:,0:2] # Remember that Python does not slice inclusive of the ending index.