Featured Post

Python Set Operations Explained: From Theory to Real-Time Applications

Image
A  set  in Python is an unordered collection of unique elements. It is useful when storing distinct values and performing operations like union, intersection, or difference. Real-Time Example: Removing Duplicate Customer Emails in a Marketing Campaign Imagine you are working on an email marketing campaign for your company. You have a list of customer emails, but some are duplicated. Using a set , you can remove duplicates efficiently before sending emails. Code Example: # List of customer emails (some duplicates) customer_emails = [ "alice@example.com" , "bob@example.com" , "charlie@example.com" , "alice@example.com" , "david@example.com" , "bob@example.com" ] # Convert list to a set to remove duplicates unique_emails = set (customer_emails) # Convert back to a list (if needed) unique_email_list = list (unique_emails) # Print the unique emails print ( "Unique customer emails:" , unique_email_list) Ou...

The best answer for 'Efficient Workbook' in Tableau

There are several factors that define an “efficient” workbook. Some of these factors are technical and some more user-focused. An efficient workbook is:

  • A workbook that takes advantage of the “principles of visual analysis” to effectively communicate the message of the author and the data, possibly by engaging the user in an interactive experience.
  • A workbook that responds in a timely fashion. This can be a somewhat subjective measure, but in general we would want the workbook to provide an initial display of information and to respond to user interactions within a couple of (< 5) seconds. 
  • Tableau latest version is 9.1.2 as on writing this post
  • Tableau version 8 and Version 9 differences
  1. Individual Query time improved by 10x
  2. Dashboard Query times improved by 9x
  3. Query Fusion improving times by 2x
  4. And Query Caching improving times by 50x

        Comments

        Popular posts from this blog

        SQL Query: 3 Methods for Calculating Cumulative SUM

        Big Data: Top Cloud Computing Interview Questions (1 of 4)

        Python placeholder '_' Perfect Way to Use it