Naming conventions at scale
📖 Scenario: You work in a company where many data tables are created daily. To keep things clear and easy to find, you need to follow a naming rule for these tables.Imagine you have a list of raw data table names, and you want to create new names for cleaned tables by adding a prefix and suffix.
🎯 Goal: You will create a dictionary of raw table names, set a prefix and suffix, then generate new cleaned table names using these rules.
📋 What You'll Learn
Create a dictionary called
raw_tables with exact keys and valuesCreate two variables called
prefix and suffix with exact string valuesUse a dictionary comprehension to create a new dictionary called
cleaned_tables with new namesPrint the
cleaned_tables dictionary💡 Why This Matters
🌍 Real World
In companies, consistent naming helps teams find and understand data tables quickly, especially when many tables exist.
💼 Career
Data engineers and analysts often apply naming conventions to keep data organized and maintainable at scale.
Progress0 / 4 steps