I feel it's simple task and I am not using right term probably
df = pd.DataFrame({'Name': ['Honda', 'Toyota', 'Toyota','BMW','Hyundai', 'BMW']
, 'Price': ['2000', '3000', '2000','4000','6000', '8000']
, 'Year': ['2001', '2002', '2002','2003','2004', '2005']})
Name Price Year
0 Honda 2000 2001
1 Toyota 3000 2002
2 Toyota 2000 2002
3 BMW 4000 2003
4 Hyundai 6000 2004
5 BMW 8000 2005
I want to perform operations like group by, drop , count and so on not on column or row but based on specific element For example drop all Honda data elements - which should drop Honda and its associated elements from all columns and each row
I am finding examples which does specific rows with iloc and so on but since data is disperse all honda elements won't be within index.
Also data on which I want to perform operation is timeseries so group by for particular element changes dataframe