PinnedRedHairedGirl (aka PLIM)·Apr 9, 2022How to install StatCan’s SLICEmyPDF on Windows?With the prevalence of PDF files, there is a huge demand to convert the tables in these files into CSV/Excel for easy extraction of the…A response icon2A response icon2
RedHairedGirl (aka PLIM)·Aug 29, 2025Python Code to Convert Microsoft Legacy File FormatsBelow are 3 sets of codes to convert doc, ppt and xls to docx, pptx and xlsx respectively. The codes will work on non-password or…
RedHairedGirl (aka PLIM)·Dec 31, 2024Python Equivalent of SAS Proc TabulateThis article provides a created function SAS_pro_tabulate in Python that exactly replicates most of SAS Proc Tabulate procedure.A response icon1A response icon1
RedHairedGirl (aka PLIM)·Nov 21, 2024Pandas DataFrame: A Comprehensive Guide to Replace Values Based on ConditionFor a pandas DataFrame, there are various ways to replace the values in a column. In this Jupyer Notebook, I have illustrated most (if not…
RedHairedGirl (aka PLIM)·Jul 11, 2024How to Read in 1 or All Excel Sheets into a Pandas DF Using Xlwings?One of the advantages of using Xlwings to read in Excel data into Pandas dataframe is that numeric columns that should be stored as string…A response icon1A response icon1
RedHairedGirl (aka PLIM)·Jul 4, 2024Python Equivalent of SAS Proc TransposeAs Python does not have readily available functions that is exactly identical to SAS Proc Transpose, this article provides a created…
RedHairedGirl (aka PLIM)·Jun 24, 2024Decoding SAS: A Guide to Python EquivalentsAs more people migrate from SAS to free open-source languages like Python, there could be a need to re-code SAS programs into the…
RedHairedGirl (aka PLIM)·Jun 24, 2024Python Equivalent of SAS MergeWhile Python offers several merge options like pandas.merge, pandas.concat, and join; none of them can replicate the exact same output of…
RedHairedGirl (aka PLIM)·Jun 20, 2024Python Equivalent of SAS Proc SummaryWhile Python is a power language, it may not have ready-to-use functions that replicates SAS procedure exactly. This article provides a…
RedHairedGirl (aka PLIM)·Jun 1, 2022Regular Expression (Regex) for Common SituationsProviding a couple of regex examples for commonly encountered situationsA response icon2A response icon2