First off, we see that the moment or item in moments is a list that contains a bunch of information. Lets go through each of the items in the list one by one.

The 1st item in moments[0] is the period or quarter that this moment occurred in. I don't know what the 2nd item represents. Let me know if you are able to figure it out. The 3rd item is the time left in the game clock. The 4th item is the time left on th shot clock. I don't know what the 5th item represents. The 6th item is a list of 11 lists, each containing the coordinates for a player on the court or the coordinates of the ball. The first of these 11 lists contains information on the ball. The first 2 items represnt the teamid and playerid values that identify this list as the ball. The next 2 items are the x and y values that represent the location of the ball on the court. And the 5th and final item represents the radius of the ball. This value changes throughout the animation depending on the elevation of the ball. The greater the radius, the higher up the ball is. So if a player shoots the ball, the ball will increase in size, reach its maximum size at the apex of the shooting arch and then decrease in size as it falls down. The next 10 lists within this 6th item represent the 10 players on the court. The information within each of these lists is the same as it is for the ball. The first 2 items are the teamid and playerid that identify this list as a specific player. The next 2 items represent the x and y coordinates for the player's location on the court. And the last item is the radius of the player, which is irrelevant.

Now that we have an idea of what the moments data represents, lets put it into a pandas DataFrame .