0

You are required to design the data structure to display the individual player stats for cricket players. A player may have repr

This is a scenario in python.could u explain how to create table format

2nd Sep 2021, 7:46 AM
Rash Mitha
Rash Mitha - avatar
2 odpowiedzi
+ 2
Your question was cut off because you put it into the title so I am not sure if this is what you mean. You can use a DataFrame (requires the pandas module) for tables. They are explained in the Python for Data Science course.
2nd Sep 2021, 7:50 AM
Simon Sauter
Simon Sauter - avatar
+ 1
You could also think of a dictionary based structure if you don't want to use modules (though they have many benefits, so consider it) pandas is largely based on numpy. A downside of numpy array could be that it can only contain 1 data type. It depends on what data you want to store. But, as Simon wrote, we don't know what you actually want do as the question is incomplete...
2nd Sep 2021, 9:32 AM
Lisa
Lisa - avatar