I have experience in R and new to Python Pandas. I am trying to index a DataFrame to retrieve rows that satisfy a variety of multiple logical conditions, which is very similar to the SQL where clause.
I know how to do this in R using dataframes (and with the R data.table package, which looks more like a Pandas DataFrame than an R-shaped frame).
Here is an example of code that creates a DataFrame and a description of how I would like to index it. Is there an easy way to do this?
import pandas as pd import numpy as np
All help and input are appreciated and greatly appreciated!
Thanks Randall
python sql pandas indexing
user2537610
source share