home.social

#sasprogramming — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #sasprogramming, aggregated by home.social.

  1. It's amazing how many error messages just 1 missing bracket can cause in your SAS code.

    Good job I didn't miss a semicolon.

    #SAS #SASProgramming

  2. A co-worker using Python is having issues trying to load a dataset. The error is it can't allocate 40+ Gigabytes RAM.

    In programming, this is mostly not an issue because SAS is generally oriented to data sets on disk. It loads a chunk at a time, performs operations, and progressively writing results to disk. Thus, SAS has no hesitation working with data sets much larger than available RAM. A strategy that worked in the 1970s and the 2020s.

  3. A co-worker using Python is having issues trying to load a dataset. The error is it can't allocate 40+ Gigabytes RAM.

    In #SAS programming, this is mostly not an issue because SAS is generally oriented to data sets on disk. It loads a chunk at a time, performs operations, and progressively writing results to disk. Thus, SAS has no hesitation working with data sets much larger than available RAM. A strategy that worked in the 1970s and the 2020s.

    #ScottComputing #ScottProgramming #SASProgramming

  4. A co-worker using Python is having issues trying to load a dataset. The error is it can't allocate 40+ Gigabytes RAM.

    In #SAS programming, this is mostly not an issue because SAS is generally oriented to data sets on disk. It loads a chunk at a time, performs operations, and progressively writing results to disk. Thus, SAS has no hesitation working with data sets much larger than available RAM. A strategy that worked in the 1970s and the 2020s.

    #ScottComputing #ScottProgramming #SASProgramming

  5. A co-worker using Python is having issues trying to load a dataset. The error is it can't allocate 40+ Gigabytes RAM.

    In #SAS programming, this is mostly not an issue because SAS is generally oriented to data sets on disk. It loads a chunk at a time, performs operations, and progressively writing results to disk. Thus, SAS has no hesitation working with data sets much larger than available RAM. A strategy that worked in the 1970s and the 2020s.

    #ScottComputing #ScottProgramming #SASProgramming

  6. A co-worker using Python is having issues trying to load a dataset. The error is it can't allocate 40+ Gigabytes RAM.

    In #SAS programming, this is mostly not an issue because SAS is generally oriented to data sets on disk. It loads a chunk at a time, performs operations, and progressively writing results to disk. Thus, SAS has no hesitation working with data sets much larger than available RAM. A strategy that worked in the 1970s and the 2020s.

    #ScottComputing #ScottProgramming #SASProgramming

  7. I need to make a fixed-width text file from a Pandas DataFrame.

    I followed a suggestion to use to_string method. I built out my solution only to find it adds a space between the columns in the output. A fixed-width file means each column must be an exact number of characters. I literally can't make the file I need with to_string.

    Making a fixed-width text file is a very easy task in SAS. Trying to do this with Pandas has been extremely frustrating.

    #PythonPandas #SASProgramming

  8. I need to make a fixed-width text file from a Pandas DataFrame.

    I followed a suggestion to use to_string method. I built out my solution only to find it adds a space between the columns in the output. A fixed-width file means each column must be an exact number of characters. I literally can't make the file I need with to_string.

    Making a fixed-width text file is a very easy task in SAS. Trying to do this with Pandas has been extremely frustrating.

  9. I need to make a fixed-width text file from a Pandas DataFrame.

    I followed a suggestion to use to_string method. I built out my solution only to find it adds a space between the columns in the output. A fixed-width file means each column must be an exact number of characters. I literally can't make the file I need with to_string.

    Making a fixed-width text file is a very easy task in SAS. Trying to do this with Pandas has been extremely frustrating.

    #PythonPandas #SASProgramming

  10. I need to make a fixed-width text file from a Pandas DataFrame.

    I followed a suggestion to use to_string method. I built out my solution only to find it adds a space between the columns in the output. A fixed-width file means each column must be an exact number of characters. I literally can't make the file I need with to_string.

    Making a fixed-width text file is a very easy task in SAS. Trying to do this with Pandas has been extremely frustrating.

    #PythonPandas #SASProgramming

  11. I need to make a fixed-width text file from a Pandas DataFrame.

    I followed a suggestion to use to_string method. I built out my solution only to find it adds a space between the columns in the output. A fixed-width file means each column must be an exact number of characters. I literally can't make the file I need with to_string.

    Making a fixed-width text file is a very easy task in SAS. Trying to do this with Pandas has been extremely frustrating.

    #PythonPandas #SASProgramming

  12. Does anyone remember tech posters? They were sheets with parameters to frequently used programming functions, UNIX commands, etc. In the 1990s (without always-on Internet), they were real life savers. Even in the 2020s, they can save time & energy.

    The last 2 weeks, I've been wishing I had one for SAS string manipulation functions. I'm guessing such a thing doesn't exist, so maybe I have to make it myself. LMK if you have one.

    #SAS #SASProgramming #ScottIdeas #ScottThoughts