chriswp
Legendary Member
- Joined
- Nov 21, 2011
- Messages
- 1,116
- Reaction score
- 880
- Points
- 5,785
- Age
- 30
- Location
- Northern Suburbs, CT
Whats the longest you have been stuck on a bug/error and it turns out that you were just stupid?
Mine is now in Python:
I have spent 3 hours quering a pandas dataframe and getting no results (there should always be results for this query), and it turns out that I had a % instead of a &:
h_records = dfh.loc[(dfh['date']==station[0])%(dfh['lat']==station[1])&(dfh['long']==station[2]), :]
So much time wasted
Mine is now in Python:
I have spent 3 hours quering a pandas dataframe and getting no results (there should always be results for this query), and it turns out that I had a % instead of a &:
h_records = dfh.loc[(dfh['date']==station[0])%(dfh['lat']==station[1])&(dfh['long']==station[2]), :]
So much time wasted