Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

table

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

table

Two-dimensional tables backed by Numpy with named rows and columns.

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

Some of the capabilities of the table library are shown below::

from table import Table

table = Table(
    ["1", "2", "3"] # row names,
    ["a", "b"]      # column names,
    [[1, 2],        # initial values
     [3, 4],
     [5, 6]]
)

print "Whole table:"
print table

print "Just a cell:"
print table["1", "a"]

print "A row:"
print table["2", :]

print "A column:"
print table[:, "b"]

print "A range:"
print table["2":, :]

The library also provides basic I/O capability for simple delimited files and standard CSV files::

table1 = readTableFromDelimited(f)
table2 = readTableFromCSV(f)

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc