You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return either a column name by index or index by name. None if not found
rename_column
☑
Rename a column name in the header
make_shortnames
☑
Return Header with no Dot-prefix of the columns
set_shortnames
☑
Remove Dot-prefix of the columns from self/Table header
Private methods
Name
Status
Description
_redimension
☑
Recalculate dimensions of the Table.table
EvalCtrl class
Controls what arguments are available to eval() function
Name
Status
Description
blacklisted
☑
Checks if there is any of the blacklised words in stanza
blacklist_add
☑
Add a new word into the black list
blacklist_remove
☑
Remove the word from the blacklist
Standalone functions
Name
Status
Description
open_file
☑
Open a file
close_file
☑
Close a file
read_json
☑
Read JSON file
read_csv
☑
Read CSV file
read_xml
☐
Read XML. NB: Do we need XML support?
str_to_type
☑
Convert a str to a proper type: int, float or bool
WARNING
Methods Table.join(on=), Table.select(where=) and Table.write_json(export_f=), use eval() function
to run specified expressions within the program. ANY expression, including one that is potentially DANGEROUS
from security point of view, can be passed as the values of the above arguments. It is your duty to ensure correctness
and safety of these arguments and EvalCtrl helps to block potentially dangerous function/method names.
Alternatively you can use Table.join_lt(), Table.select_lt() and Table.write_json(). They are significantly less
powerful, but do not use eval().