You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"prompt": "Translate the following English text to French: 'Hello, how are you?'", "completion": "Bonjour, comment ça va ?"}
{"prompt": "What is the capital of France?", "completion": "Paris"}
{"prompt": "Solve the following math problem: 2 + 2 = ?", "completion": "4"}
Please complete the following information:
OS: [e.g. Windows, Linux, MacOS] MacOS
OS Version [e.g. 22]
python version 3.9
version of type checker Pyright 1.1.326
version of installed pandas-stubs latest
Additional context
Apologies if this is incorrect, I personally have very limited pandas experience, I simply ran into this while porting someone elses code from an untyped codebase to a typed codebase.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently the stub files for
read_json()
only supportbool | Mapping[HashableT, DtypeArg] | None
but at runtime,dtype=str
works.To Reproduce
Where
data.jsonl
containsPlease complete the following information:
pandas-stubs
latestAdditional context
Apologies if this is incorrect, I personally have very limited
pandas
experience, I simply ran into this while porting someone elses code from an untyped codebase to a typed codebase.The text was updated successfully, but these errors were encountered: