v1.4
ItsPrompt v1.4
Today we are pleased to announce that finally, TablePrompt
can be used without installing pandas!
To use TablePrompt
with a dictionary, simply create one in the style of:
data = {
"column name": ["field 1", "field 2"],
...
}
Now use this dict as the data attribute of TablePrompt
. It's that easy!
You can still use pandas.DataFrame
, either by installing pandas separately or by installing ItsPrompt
with:
pip install itspromt[df]
We are currently working a way to use TablePrompt
with lists as well, stay tuned!
If you've got any ideas on what could be changed, added, or improved, visit our Discussions, Discord or open an Issue!
What's Changed
- Table dict by @TheItsNameless in #26
- updated README.md to show new way to use
TablePrompt
by @TheItsNameless in #27
Full Changelog: v1.3...v1.4