Calculating user retention is done via many tools today. This feature is usually out of the box with any analytics or Business intelligence tool. However! if you want to truly understand retention, what better way…
Posts tagged pandas
KeyError Pandas – How To Fix
Pandas KeyError is frustrating. This error happens because Pandas cannot find what you’re looking for. To fix this either: Preferred Option: Make sure that your column label (or row label) is in your dataframe! Error…
Multiply Columns To Make New Column Pandas
Community request time! Thanks to Leonah for the tutorial request about how to multiply columns in pandas Multiplying columns together is a foundational skill in Pandas and a great one to master. Good thing it…
Python Jupyter – Evolution of IPython
Directly from Jupyter’s website: Another way, Jupyter is the group behind everyones favorite notebook. We call these the common “Jupyter Notesbooks.” The Jupyter project used to be called IPython, but have since expanded to other…
Python Iterable – Items One-By-One
In Python, you often want to iterate (or process one by one) a collection of items. This could be rows in a dataset, items in a list, or keys in a dictionary. These are examples…
Python IPython
IPython is an outdated term that used to refer to “Interactive Python.” Originally this was the program that made python notebooks that are very popular in data analysis and data science today. Recently, IPython has…
Python Int – Numbers without a decimal point
Within Python there are different data types. Think of data types like different formats within Excel. The int or integer is a round number without a decimal point. Python Int is similar to float, but…
Python Indent – Group Code Together
In python, the main way of formatting your code will be through indents. Indentation is tabs of white pass that ‘group’ code together with each other. For example, if you are using a for loop,…
Python Import – Bring In Another Library
In Python, you’ll often want to bring in other pieces of code. This could be code that you wrote, or someone else wrote. The most basic case is bringing in other libraries. In order to…
Python Immutable – Can not edit
In Python, immutable means you are not able to edit something. Mutable means you are. This is due to the way the data types are created in Python. Don’t fear, this isn’t a blocker, there…