Skip to content

Commit 1edf19a

Browse files
author
Kevin D Smith
committed
Update docstrings to use loadtable
1 parent d0d596e commit 1edf19a

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

swat/cas/connection.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,6 @@ def upload(self, data, importoptions=None, casout=None, **kwargs):
12781278
'''
12791279
Upload data from a local file into a CAS table
12801280
1281-
This method is a thin wrapper around the `table.upload` CAS action.
12821281
The primary difference between this data loader and the other data
12831282
loaders on this class is that, in this case, the parsing of the data
12841283
is done on the server. This method simply uploads the file as
@@ -1308,11 +1307,11 @@ def upload(self, data, importoptions=None, casout=None, **kwargs):
13081307
or a URL. DataFrames will be converted to CSV before
13091308
uploading.
13101309
importoptions : dict, optional
1311-
Import options for the table.upload action.
1310+
Import options for the ``table.loadtable`` action.
13121311
casout : dict, optional
1313-
Output table definition for the `table.upload` action.
1312+
Output table definition for the ``table.loadtable`` action.
13141313
**kwargs : keyword arguments, optional
1315-
Additional parameters to the `table.upload` action.
1314+
Additional parameters to the ``table.loadtable`` action.
13161315
13171316
Examples
13181317
--------
@@ -1375,7 +1374,7 @@ def upload(self, data, importoptions=None, casout=None, **kwargs):
13751374
filename = data
13761375
name = os.path.splitext(os.path.basename(filename))[0]
13771376

1378-
# TODO: Populate docstring with table.upload action help
1377+
# TODO: Populate docstring with table.loadtable action help
13791378
filetype = {
13801379
'sav': 'spss',
13811380
'xlsx': 'excel',
@@ -1436,11 +1435,11 @@ def upload_file(self, data, importoptions=None, casout=None, **kwargs):
14361435
or a URL. DataFrames will be converted to CSV before
14371436
uploading.
14381437
importoptions : dict, optional
1439-
Import options for the table.upload action.
1438+
Import options for the ``table.loadtable`` action.
14401439
casout : dict, optional
1441-
Output table definition for the `table.upload` action.
1440+
Output table definition for the ``table.loadtable`` action.
14421441
**kwargs : keyword arguments, optional
1443-
Additional parameters to the `table.upload` action.
1442+
Additional parameters to the ``table.loadtable`` action.
14441443
14451444
Returns
14461445
-------
@@ -1472,11 +1471,11 @@ def upload_frame(self, data, importoptions=None, casout=None, **kwargs):
14721471
data : :class:`pandas.DataFrame`
14731472
DataFrames will be converted to CSV before uploading.
14741473
importoptions : dict, optional
1475-
Import options for the table.upload action.
1474+
Import options for the ``table.loadtable`` action.
14761475
casout : dict, optional
1477-
Output table definition for the `table.upload` action.
1476+
Output table definition for the ``table.loadtable`` action.
14781477
**kwargs : keyword arguments, optional
1479-
Additional parameters to the `table.upload` action.
1478+
Additional parameters to the ``table.loadtable`` action.
14801479
14811480
Returns
14821481
-------

0 commit comments

Comments
 (0)