News for hackers. Stuff that matters.
Re:Principles and Techniques of Data Science by all2 on Friday April 26, 2019 @09:32AM (#19757244)
I thought a cartesian (cross) product produced an ordered output (tuple), an element from each set?

I don't have any experience with data science, but my brain wants to apply linear algebra and set theory...

So, in the above linked example, to clean we would first do an intersect operation on user names to remove people who don't appear in each set.

Then, to put the tables together (to append emails to appropriate names) we do a cross product between the filtered sets (assuming the sets have been ordered).

Is my intuition correct? I also have zero experience with DBs.

There are no comments on this comment yet.