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
The issuse is a line :
pandas/pandas/io/sql.py
Line 477 in 73fd026
The example is for the wrong function s/read_sql_table/read_sql_query
read_sql_table
read_sql_query
Examples -------- >>> from sqlalchemy import create_engine # doctest: +SKIP >>> engine = create_engine("sqlite:///database.db") # doctest: +SKIP >>> with engine.connect() as conn, conn.begin(): # doctest: +SKIP ... data = pd.read_sql_table("data", conn) # doctest: +SKIP
Should be replace by somthing like
Examples -------- >>> from sqlalchemy import create_engine # doctest: +SKIP >>> engine = create_engine("sqlite:///database.db") # doctest: +SKIP >>> sql_query = 'SELECT int_column FROM test_data # doctest: +SKIP >>> with engine.connect() as conn, conn.begin(): # doctest: +SKIP ... data = pd.read_sql_query(sql_query, conn) # doctest: +SKIP
And this will modify https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_sql_query.html
The text was updated successfully, but these errors were encountered:
DOC: read_sql_query docstring contraine wrong examples pandas-dev#58094
04250bd
c4574a2
DOC: read_sql_query docstring contraine wrong examples #58094 (#58095)
6f39c4f
DOC: read_sql_query docstring contraine wrong examples #58094
ace3fb1
(pandas-dev#58095) DOC: read_sql_query docstring contraine wrong examples pandas-dev#58094
Successfully merging a pull request may close this issue.
The issuse is a line :
pandas/pandas/io/sql.py
Line 477 in 73fd026
The example is for the wrong function s/
read_sql_table
/read_sql_query
Should be replace by somthing like
And this will modify https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_sql_query.html
The text was updated successfully, but these errors were encountered: