Metadata-Version: 1.1
Name: sasx
Version: 0.1
Summary: Data manipulation in Python for SAS users
Home-page: https://github.com/python-sasx/sasx
Author: python-sasx
Author-email: python.sasx@gmail.com
License: MIT
Description: ====
        SASX
        ====
        Data manipulation in Python for SAS users, with the %%sasx magic command.
        
        SASX (Simple dAta SyntaX) has the best of both worlds:
        - Full access to python, numpy, pandas (like Python)
        - A few extra keywords to allow row-by-row operations (like SAS)
        
        Same results, different syntax
        ------------------------------
        
        SAS:
        .. code-block::
           data weight_loss;
              set weight;
              Percent_loss = min(current_weight - initial_weight, 0)  / initial_weight;
              keep Name Percent_loss;
           run;
        
        
        SASX (Simple dAta SyntaX):
        .. code-block:: python
           %%sasx
           data weight_loss:
              set weight
              Percent_loss = min(current_weight - initial_weight, 0)  / initial_weight
              keep Name Percent_loss
        
        
        Python code:
        .. code-block:: python
           weight_loss = weight[['Name','current_weight','initial_weight']].copy()
           weight_loss['Percent_loss'] = np.minimum(weight_loss.current_weight - weight_loss.initial_weight, 0) / weight_loss.initial_weight
           weight_loss.drop([['current_weight','initial_weight']], axis=1, inplace=True)
        
        Installing
        ----------
        
        
        
Keywords: data manipulation sas python pandas sasx
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
