filmov
tv
How to Create ASCII Table/Chart in Python Using PrettyTable | Python | Gelvix Tech

Показать описание
Hey Everyone ! , In This Video I Gonna Talk about Python Library PrettyTable Which is Used For Making a Tables, Charts in a Very Simple Manner . I Hope You Will Understand All this Concept , Because I Explained this Concept in Simple Format in a Very Easy Way.
Python is A Very Popular Language During 2021 and Every Programmer Should Know About Python Library Which is Really Amazing , So If You Not Understand Any Topic Inside this Video Then You Can Comment Me Directly.
__________________________________________________
Step 1 ) ➝
We Have to Installed Python Library Which is PrettyTable and prettytable.
__________________________________________________
Step 2) ➝
I performed this Program in Jupyter Notebook.
(If you don't have that much Knowledge about Jupyter Notebook, then You Can Ask me in a Comment, I Can Make One Single Video On Jupyter Notebook, Which is Very Famous for Data Science ).
__________________________________________________
Step 3) ➝
After Installing Library, then Import this Library Using "import" keyword in Jupyter Notebook.
__________________________________________________
Step 4) ➝
When You Install Library, Create a one Variable and give any Name Just Like "mytable" , etc and Passed One Method Which Name is PrettyTable () and inside this Method We Have to Pass Argument Which is Column of Our Table, You Can Pass Any Column is Depend on Your Needs.
__________________________________________________
Step 5) ➝
After Passing Column Name, Then We Have to Simply Call a Method Using Variable name, (add_rows) which Add Rows in a Table.
__________________________________________________
Step 6) ➝
Once We Added All this Column and Rows then we Have to Print this Tables Using Print Keyword.
And Our Program is Run & Worked.
__________________________________________________
I Hope You All are Understand This Program.
This is My New YouTube Channel And Please Support Me For More Interesting Videos Like this.
Thanks for Watching ! 🙂
Python is A Very Popular Language During 2021 and Every Programmer Should Know About Python Library Which is Really Amazing , So If You Not Understand Any Topic Inside this Video Then You Can Comment Me Directly.
__________________________________________________
Step 1 ) ➝
We Have to Installed Python Library Which is PrettyTable and prettytable.
__________________________________________________
Step 2) ➝
I performed this Program in Jupyter Notebook.
(If you don't have that much Knowledge about Jupyter Notebook, then You Can Ask me in a Comment, I Can Make One Single Video On Jupyter Notebook, Which is Very Famous for Data Science ).
__________________________________________________
Step 3) ➝
After Installing Library, then Import this Library Using "import" keyword in Jupyter Notebook.
__________________________________________________
Step 4) ➝
When You Install Library, Create a one Variable and give any Name Just Like "mytable" , etc and Passed One Method Which Name is PrettyTable () and inside this Method We Have to Pass Argument Which is Column of Our Table, You Can Pass Any Column is Depend on Your Needs.
__________________________________________________
Step 5) ➝
After Passing Column Name, Then We Have to Simply Call a Method Using Variable name, (add_rows) which Add Rows in a Table.
__________________________________________________
Step 6) ➝
Once We Added All this Column and Rows then we Have to Print this Tables Using Print Keyword.
And Our Program is Run & Worked.
__________________________________________________
I Hope You All are Understand This Program.
This is My New YouTube Channel And Please Support Me For More Interesting Videos Like this.
Thanks for Watching ! 🙂
Комментарии