@@ -88,7 +88,7 @@ def execute(sql, con, cur=None, params=None):
88
88
Using SQLAlchemy makes it possible to use any DB supported by that
89
89
library.
90
90
If a DBAPI2 object, only sqlite3 is supported.
91
- cur : depreciated , cursor is obtained from connection
91
+ cur : deprecated , cursor is obtained from connection
92
92
params : list or tuple, optional
93
93
List of parameters to pass to execute method.
94
94
@@ -134,15 +134,15 @@ def tquery(sql, con=None, cur=None, retry=True):
134
134
sql: string
135
135
SQL query to be executed
136
136
con: DBAPI2 connection
137
- cur: depreciated , cursor is obtained from connection
137
+ cur: deprecated , cursor is obtained from connection
138
138
139
139
Returns
140
140
-------
141
141
Results Iterable
142
142
143
143
"""
144
144
warnings .warn (
145
- "tquery is depreciated , and will be removed in future versions. "
145
+ "tquery is deprecated , and will be removed in future versions. "
146
146
"You can use ``execute(...).fetchall()`` instead." ,
147
147
FutureWarning )
148
148
@@ -187,7 +187,7 @@ def uquery(sql, con=None, cur=None, retry=True, params=None):
187
187
sql: string
188
188
SQL query to be executed
189
189
con: DBAPI2 connection
190
- cur: depreciated , cursor is obtained from connection
190
+ cur: deprecated , cursor is obtained from connection
191
191
params: list or tuple, optional
192
192
List of parameters to pass to execute method.
193
193
@@ -197,7 +197,7 @@ def uquery(sql, con=None, cur=None, retry=True, params=None):
197
197
198
198
"""
199
199
warnings .warn (
200
- "uquery is depreciated , and will be removed in future versions. "
200
+ "uquery is deprecated , and will be removed in future versions. "
201
201
"You can use ``execute(...).rowcount`` instead." ,
202
202
FutureWarning )
203
203
@@ -1153,21 +1153,21 @@ def get_sqltype(dtype, flavor):
1153
1153
# legacy names, with depreciation warnings and copied docs
1154
1154
1155
1155
def read_frame (* args , ** kwargs ):
1156
- """DEPRECIATED - use read_sql
1156
+ """DEPRECATED - use read_sql
1157
1157
"""
1158
- warnings .warn ("read_frame is depreciated , use read_sql" , FutureWarning )
1158
+ warnings .warn ("read_frame is deprecated , use read_sql" , FutureWarning )
1159
1159
return read_sql (* args , ** kwargs )
1160
1160
1161
1161
1162
1162
def frame_query (* args , ** kwargs ):
1163
- """DEPRECIATED - use read_sql
1163
+ """DEPRECATED - use read_sql
1164
1164
"""
1165
- warnings .warn ("frame_query is depreciated , use read_sql" , FutureWarning )
1165
+ warnings .warn ("frame_query is deprecated , use read_sql" , FutureWarning )
1166
1166
return read_sql (* args , ** kwargs )
1167
1167
1168
1168
1169
1169
def write_frame (frame , name , con , flavor = 'sqlite' , if_exists = 'fail' , ** kwargs ):
1170
- """DEPRECIATED - use to_sql
1170
+ """DEPRECATED - use to_sql
1171
1171
1172
1172
Write records stored in a DataFrame to a SQL database.
1173
1173
@@ -1200,7 +1200,7 @@ def write_frame(frame, name, con, flavor='sqlite', if_exists='fail', **kwargs):
1200
1200
pandas.DataFrame.to_sql
1201
1201
1202
1202
"""
1203
- warnings .warn ("write_frame is depreciated , use to_sql" , FutureWarning )
1203
+ warnings .warn ("write_frame is deprecated , use to_sql" , FutureWarning )
1204
1204
1205
1205
# for backwards compatibility, set index=False when not specified
1206
1206
index = kwargs .pop ('index' , False )
0 commit comments