sassoftware / saspy

A Python interface module to the SAS System. It works with Linux, Windows, and Mainframe SAS as well as with SAS in Viya.
https://sassoftware.github.io/saspy
Other
373 stars 150 forks source link

Validvarname #340

Closed dmsenter89 closed 3 years ago

dmsenter89 commented 3 years ago

Implemented a method in SASsession that converts the column-names of a Pandas DataFrame to SAS compatible column names using the same features as the SAS validvarname option. Supports versions V7, V6, UPCASE, and ANY. Unit tests have been added to test_pandas.

Signed-off-by: Michael Senter dmsenter89@gmail.com

tomweber-sas commented 3 years ago

Thanks, this looks like a good feature! I'll test this out some and see about being able to merge this in! Thanks, Tom

tomweber-sas commented 3 years ago

This looks good, thanks for contributing! Sorry it took a while; too many other fires the past couple days Tom.