DOC: clarify requirements for read_stata's args
read_stata(buf) needs a buf which implements both read() and seek(). read() is not enough. For example, the object returned from zipfile.ZipFile.open('filename') only provides read() and not seek() and cannot be used.

that's great. can you also update the code to check for the `.read` and `.seek` attributes and raise if they don't exist (so you get a nice error message if you try this). Pls add a test as well (you can use the `ZipFile` example)
 Actually, I might be wrong. It looks like StataReader turns everything
into a BytesIO object (which is seekable). Not sure why I got an error
in that case.

On 10/05, Jeff Reback wrote:

> that's great. can you also update the code to check for the `.read` and `.seek` attributes and raise if they don't exist (so you get a nice error message if you try this). Pls add a test as well (you can use the `ZipFile` example)
> 
> ---
> 
> Reply to this email directly or view it on GitHub:
> https://github.com/pydata/pandas/pull/11243#issuecomment-145687781
 thanks, pls reopen if you find the cause & some problem in read_state
