For 2D data objects in Python, you have 3 main options:
- Numpy Array
- Pandas DataFrame (built on np.array)
- SQL table
Numpy and Pandas are great for working with a complete set of data, but not very efficient for building up row by row.
SQL is good for building up the object row by row, but you have to write SQL and leave the world of Python objects.

PySimpleTable tries to find the middle ground with more flexibility than Numpy or Pandas for incrementally building a 2D object without needing to use SQL. Once the 2D object is created, call an included method to convert it to a more efficient and powerful Numpy Array or Pandas DataFrame for the real work.

A PySimpleTable has column headers names. Cells are referenced by:
tbl[row_num][col_num]
tbl[row_num]['colname']
Rows are added easily. Columns cannot be added or removed. Other features include:
- sorting by column(s)
- filter by function
- convert to Numpy Array or Pandas DataFrame

Project Activity

See All Activity >

Categories

Data Formats

License

BSD License

Follow PySimpleTable

PySimpleTable Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PySimpleTable!

Additional Project Details

Intended Audience

Developers

Programming Language

Python

Related Categories

Python Data Formats Software

Registered

2012-09-12