We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sf.Frame.from_sql
Description
It's not uncommon for queries to successfully finish, but return None. As such, static-frame will raise this error:
None
TypeError("int() argument must be a string, a bytes-like object or a number, not 'NoneType'")
Example
I think a better error message would be suited here. Something like: RuntimeError("Query finished without returning any results")
RuntimeError("Query finished without returning any results")
Platform
<Series: platform> <Index> platform Linux-5.4.0-165-generic-x86_64-with-glibc2.29 sys.version 3.8.12 (default, Aug 30 2023, 21:17:56) [GCC 9.4.0] static-frame 1.6.4 numpy 1.24.3 pandas 1.5.3 xlsxwriter 3.1.0 openpyxl 3.0.9 xarray <ModuleNotFoundError> tables 3.8.0 pyarrow 0.17.1 msgpack (1, 0, 0) msgpack_numpy None <<U13> <object>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
It's not uncommon for queries to successfully finish, but return
None
. As such, static-frame will raise this error:Example
I think a better error message would be suited here. Something like:
RuntimeError("Query finished without returning any results")
Platform
The text was updated successfully, but these errors were encountered: