Skip to content

Commit d5094df

Browse files
committed
Merge pull request #4068 from simomo/read_sql_enhencement
DOC: read_frame doc enhancement
2 parents ad3a64f + 635b895 commit d5094df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/io/sql.py

+3
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ def read_frame(sql, con, index_col=None, coerce_float=True, params=None):
148148
con: DB connection object, optional
149149
index_col: string, optional
150150
column name to use for the returned DataFrame object.
151+
coerce_float : boolean, default True
152+
Attempt to convert values to non-string, non-numeric objects (like
153+
decimal.Decimal) to floating point, useful for SQL result sets
151154
params: list or tuple, optional
152155
List of parameters to pass to execute method.
153156
"""

0 commit comments

Comments
 (0)