python-swat
python-swat copied to clipboard
The SAS Scripting Wrapper for Analytics Transfer (SWAT) package is the Python client to SAS Cloud Analytic Services (CAS). It allows users to execute CAS actions and process the results all from Pyth...
When connecting to a CAS server with a username and password, it is possible to hit a segmentation fault if the credentials are incorrect! This totally exits out of the...
Hi, I noticed that sometimes when an action is launched on the cas server, it may stop responding and the action remains running forever. I believe this is an issue...
Hi, when I use multiprocessing library on Unix machine, the CAS connection cannot return or print out my evaluated table to my disk, whether I use `to_csv()` or `to_pickle()`. However,...
Merging relies on data step and thus requires data to be sorted.
Hi, in my project I usually upload from local very large tables with the following characteristic: all columns are numeric (double). I saw that with `upload_frame` data is first converted...
I have a custom `logger` (from standard `logging` module) in my code. I would like that all the swat outputs like: ``` [table.partition] table.name = "XXX" (string) casout.name = "YYY"...
I have for example two CAS Tables T1 T2, which have the exact same columns. I do this: ``` df1 = CASTable('T1') df1["Name"] = "AB" df1.partition(casout=dict(name='T1', replace=True)) df1 = CASTable('T1')...
If I create a CAS table with missing values... ``` import pandas as pd import numpy as np df = pd.DataFrame(dict(amount=[35,40], tip=[3.5,np.nan])) tbl = conn.upload_frame(df, casout=dict(name="test", caslib="casuser", replace=True)) ``` ...the...
When using conda to install python-swat (swat from the sas-institute channel) python is downgraded to at most 3.9, and in an environment with other common packages like matplotlib, the downgrade...
Hi, I'm running this action: ``` cas.regression.glmScore( restore=dict(name=self.model_table), table=dict( name=prepared_table, groupby="GROUPID", where=( "TRAIN_START