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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 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