Pandas is a data analysis library for Python that provides many tools to work with data structures, such as a DataFrame.
Pandas DataFrames have rows and columns. To select specific rows in pandas, you can use the .loc[] or .iloc[] methods. These methods are used to select rows based on their location in the DataFrame. The .loc[] method selects rows based on their row index number and the .iloc[] method selects rows based on their column index number.
To select specific columns in pandas, you can use the .ix[] or ixes []methods. The ixes []method selects columns based on both their column index number and row index number