saspy
5.103.0
  • Installation
    • Installation via pip
    • Installation via uv
    • Installation via pixi
    • Installation via conda
  • Configuration
    • sascfg_personal.py
    • sascfg_personal.py details
    • Choosing an Access Method
    • STDIO
    • SSH
    • IOM
      • Authentication:
      • ATTN, log4j vulnerabilities found in Dec 2021
      • ATTN, as of saspy version 3.3.3, the classpath is no longer required in your configuration file!
      • SAS IOM client Encryption Jars
      • The .authinfo file (_authinfo on Windows)
      • Remote
      • Local
      • Remote to MVS SAS
    • HTTP
    • COM
  • Getting started
    • Initial import
    • Start a SAS session
    • Load data into SAS
      • CSV
      • Pandas DataFrame
      • Existing SAS data set
    • Explore the data
      • List the variables
      • See the first observations
      • Summary of numeric columns
      • Basic bar chart
      • Basic histogram
      • Basic heatmap
    • Submit SAS code directly from Python session
    • Split the data into training and test
    • Build an analytical model
      • More about the target and input parameters
    • Evaluating model diagnostics
  • API Reference
    • SAS Session Object
      • SASsession
        • SASsession.SYSERR()
        • SASsession.SYSERRORTEXT()
        • SASsession.SYSFILRC()
        • SASsession.SYSINFO()
        • SASsession.SYSLIBRC()
        • SASsession.SYSWARNINGTEXT()
        • SASsession.assigned_librefs()
        • SASsession.cat()
        • SASsession.dataframe2sasdata()
        • SASsession.datasets()
        • SASsession.df2sd()
        • SASsession.df_char_lengths()
        • SASsession.dirlist()
        • SASsession.disconnect()
        • SASsession.download()
        • SASsession.endsas()
        • SASsession.exist()
        • SASsession.file_copy()
        • SASsession.file_delete()
        • SASsession.file_info()
        • SASsession.lastlog()
        • SASsession.lib_path()
        • SASsession.list_tables()
        • SASsession.read_csv()
        • SASsession.sasdata()
        • SASsession.sasdata2dataframe()
        • SASsession.sasdata2parquet()
        • SASsession.sasets()
        • SASsession.saslib()
        • SASsession.saslog()
        • SASsession.sasml()
        • SASsession.sasqc()
        • SASsession.sasstat()
        • SASsession.sasutil()
        • SASsession.sasviyaml()
        • SASsession.sd2df()
        • SASsession.sd2df_CSV()
        • SASsession.sd2df_DISK()
        • SASsession.sd2pq()
        • SASsession.set_batch()
        • SASsession.set_results()
        • SASsession.sil()
        • SASsession.simple_interest_loan()
        • SASsession.submit()
        • SASsession.submitLOG()
        • SASsession.submitLST()
        • SASsession.symexist()
        • SASsession.symget()
        • SASsession.symput()
        • SASsession.teach_me_SAS()
        • SASsession.upload()
        • SASsession.validvarname()
        • SASsession.write_csv()
    • SAS Data Object
      • SASdata
        • SASdata.add_vars()
        • SASdata.append()
        • SASdata.assessModel()
        • SASdata.attrs()
        • SASdata.bar()
        • SASdata.columnInfo()
        • SASdata.contents()
        • SASdata.delete()
        • SASdata.describe()
        • SASdata.head()
        • SASdata.heatmap()
        • SASdata.hist()
        • SASdata.impute()
        • SASdata.info()
        • SASdata.means()
        • SASdata.modify()
        • SASdata.obs()
        • SASdata.partition()
        • SASdata.rename()
        • SASdata.scatter()
        • SASdata.score()
        • SASdata.series()
        • SASdata.set_results()
        • SASdata.sort()
        • SASdata.tail()
        • SASdata.to_csv()
        • SASdata.to_df()
        • SASdata.to_df_CSV()
        • SASdata.to_df_DISK()
        • SASdata.to_frame()
        • SASdata.to_json()
        • SASdata.to_pq()
        • SASdata.top()
        • SASdata.where()
    • Procedure Syntax Statements
      • SASProcCommons
    • SAS Results
      • SASresults
        • SASresults.ALL()
    • SAS Procedures
      • Utility
        • SASutil
          • SASutil.hpbin()
          • SASutil.hpimpute()
          • SASutil.hpsample()
          • SASutil.univariate()
      • Machine Learning (SAS Enterprise Miner)
        • SASml
          • SASml.hp4score()
          • SASml.hpbnet()
          • SASml.hpclus()
          • SASml.hpforest()
          • SASml.hpneural()
          • SASml.treeboost()
      • Statistics
        • SASstat
          • SASstat.factor()
          • SASstat.glm()
          • SASstat.hplogistic()
          • SASstat.hpreg()
          • SASstat.hpsplit()
          • SASstat.logistic()
          • SASstat.mi()
          • SASstat.mixed()
          • SASstat.phreg()
          • SASstat.reg()
          • SASstat.tpspline()
          • SASstat.ttest()
      • Econometic and Time Series
        • SASets
          • SASets.arima()
          • SASets.autoreg()
          • SASets.esm()
          • SASets.expand()
          • SASets.timedata()
          • SASets.timeid()
          • SASets.timeseries()
          • SASets.ucm()
          • SASets.varmax()
          • SASets.x11()
          • SASets.x12()
      • Quality Control
        • SASqc
          • SASqc.capability()
          • SASqc.cusum()
          • SASqc.macontrol()
          • SASqc.shewhart()
      • SAS Viya VDMML
        • SASViyaML
          • SASViyaML.bnet()
          • SASViyaML.factmac()
          • SASViyaML.fastknn()
          • SASViyaML.forest()
          • SASViyaML.gmm()
          • SASViyaML.gradboost()
          • SASViyaML.gvarclus()
          • SASViyaML.kclus()
          • SASViyaML.nnet()
          • SASViyaML.rpca()
          • SASViyaML.svdd()
          • SASViyaML.svmachine()
          • SASViyaML.treesplit()
    • SASPy Scripts
      • run_sas.py
  • Advanced topics
    • Using Batch mode
    • Prompting
    • Moving values between Python Variables and SAS Macro Variables
    • Moving data between Python and SAS - datatype conversion
    • Dates, Times and Datetimes, Oh my!
    • Advanced sd2df and df2sd techniques
    • Slow performance loading SAS data into a Pandas DataFrame ( to_df(), sd2df() )
    • Slow performance loading a DataFrame into a SAS data set; df2sd()
    • Using Proc Iomoperate to find Object Spawner hosts and Workspace Server ports
    • Disconnecting from an IOM session and reconnecting back to it.
    • Configuring Grid Option Sets to have saspy run on a specific Queue.
    • Automatic checking for ERROR: in the LOG and the warnings module
    • saspy.logger from logging.logger as of V3.7.5
    • SASsession object as a context manager as of V3.7.5
    • Jupyter magics
  • Contributing new methods
    • Overview
      • Process
  • Limitations, restrictions and work arounds
    • SASLOG
      • Proc Printto
    • Terminating SAS out from under saspy
      • %abort macro and abort statement
      • Canceling submitted statements
    • Perfect Storm
      • Combining proc printto and abort cancel
      • printto= option on submit methods
  • Troubleshooting
    • Connection and configuration issues
      • Common diagnostics
      • STDIO
      • STDIO over SSH
      • IOM
        • Java problems
        • Classpath problems
        • IOM specific errors
    • Problems running code
      • My model didn’t run
  • License
    • Apache 2.0
    • TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
      • 1. Definitions.
      • 2. Grant of Copyright License.
      • 3. Grant of Patent License.
      • 4. Redistribution.
      • 5. Submission of Contributions.
      • 6. Trademarks.
      • 7. Disclaimer of Warranty.
      • 8. Limitation of Liability.
      • 9. Accepting Warranty or Additional Liability.
    • APPENDIX: How to apply the Apache License to your work
saspy
  • Search


© Copyright 2018 SAS Institute Inc. All Rights Reserved..

Built with Sphinx using a theme provided by Read the Docs.