To make a table in Python, you first need to decide what information you want to organize. Think of a table as having rows (each row is one item or record) and columns (each column is a type of information about that item).
In Python, tables can be created using lists, dictionaries, or special libraries like pandas. You define the columns first, such as Name, Age, and Grade for a student table. Then you add rows with the data for each item.
Once the table is made, Python can store, sort, and analyze the data, making it easier to work with large amounts of information. Tables are useful for things like keeping track of student marks, product sales, or any other structured data you want to organize clearly.
input
Table().with_columns(
"number of petals",make_array (8,34,5),
"name",make_array ('lotus', 'sunflower', 'rose'),
)
output :