Conversation

coding shouldnt be this hard, it's unreasonable. i asked ppl 'how many ppl have u had sex with', fill-in-the-blank and all i want to do is delete everything that isnt within a specific numerical range in the dataframe's column You'd think this would be pretty simple. you'd think.
Replying to
its been two days of me trying to figure out how to do this intermittently between surges of emotional fury and i still have not figured it out. i thought i got it at one point but turns out idk what i did and can't recreate it. the color has gone out of my life.
14
137
Show replies
Show replies
NFT profile picture
Replying to
It’s not that hard. If you’re asking people to fill in a blank, you need to sanitize your inputs so that they can only submit values you deem acceptable. Very easy to reject anything that’s not an integer. Write code as if your users are trying to break it, because they will
1
28
Show replies