I think the problem of some questions in the type of "How to do X?" is that you have a notion that this has been done before. Because of this you will want to search for it before having to write it yourself. Why reinventing the wheel? But without spending some effort to write the code, your question may not be well-perceived, despite your effort to make it specific.
I recently asked this question: How to parse a markdown file without having to convert it to HTML?. I did try to be specific, but the question still really looked like a lib or tool request. Because, what can I say, I did believe that ultimately there is a lib or tool for that. I would be a fool to write it from scratch. I would be a fool to just write some code, just to illustrate that I didn't want to be a vampire help. Yet, despite my best effort to be specific, it still really looked like a lib or tool request. I felt that that was fair and unfair at the same time.
I realized what I was looking for is a concept to describe the optimized/standard method of the task. I think that had I worded the question about my lack of knowledge to find out the resource I need, and emphasized that this had been done before, then the question would be more specific, and thus would be more welcomed:
- What is the efficient or standard way to do X?
- How is X usually done?
- What are some important concepts when working on X?
- In what subfields of computer science does X belong?
So, to be specific on the "be specific" advice, realize that what you are lacking is not a lib or tool, but a concept. Then word your question around that. In the question body you can list the keywords you have used to google, and why they fail to meet your expectation.
numpy
andpandas
(for Python)