Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

Alignment of Data--getting matching records

$
0
0
I have created a python class call match

# Below are created instances of the persons t4 and taylor with there corresponding data such a long, lat, time, speed etc.
per1 = match("demo")
per2 = match("j4")


if len(per1.userid) < len(per2.userid):
uid = per1.userid
else:
uid =per2.userid

The two person may have information that does not align because one has a larger range of data than the other. Is there python code that I can use to match up there data and extract the matching data to two list. I trying to do something similar to a table join
only with intentions of creating python lists of each persons paired data.

Viewing all articles
Browse latest Browse all 2485

Trending Articles