{ "metadata": { "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.0" }, "orig_nbformat": 4, "kernelspec": { "name": "python3", "display_name": "Python 3.7.0 64-bit ('3.7')" }, "interpreter": { "hash": "70b38d7a306a849643e446cd70466270a13445e5987dfa1344ef2b127438fa4d" } }, "nbformat": 4, "nbformat_minor": 2, "cells": [ { "source": [ "# Let's learn about birds" ], "cell_type": "markdown", "metadata": {} }, { "source": [ "pip install tabulate" ], "cell_type": "code", "metadata": {}, "execution_count": 17, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ "Requirement already satisfied: tabulate in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.8.9)\n", "\u001b[33mWARNING: You are using pip version 20.2.3; however, version 21.1.3 is available.\n", "You should consider upgrading via the '/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -m pip install --upgrade pip' command.\u001b[0m\n", "Note: you may need to restart the kernel to use updated packages.\n" ] } ] }, { "cell_type": "code", "execution_count": 18, "metadata": { "tags": [] }, "outputs": [ { "output_type": "execute_result", "data": { "text/plain": [ " Name ScientificName \\\n", "0 Black-bellied whistling-duck Dendrocygna autumnalis \n", "1 Fulvous whistling-duck Dendrocygna bicolor \n", "2 Snow goose Anser caerulescens \n", "3 Ross's goose Anser rossii \n", "4 Greater white-fronted goose Anser albifrons \n", "\n", " Category Order Family Genus \\\n", "0 Ducks/Geese/Waterfowl Anseriformes Anatidae Dendrocygna \n", "1 Ducks/Geese/Waterfowl Anseriformes Anatidae Dendrocygna \n", "2 Ducks/Geese/Waterfowl Anseriformes Anatidae Anser \n", "3 Ducks/Geese/Waterfowl Anseriformes Anatidae Anser \n", "4 Ducks/Geese/Waterfowl Anseriformes Anatidae Anser \n", "\n", " ConservationStatus MinLength MaxLength MinBodyMass MaxBodyMass \\\n", "0 LC 47.0 56.0 652.0 1020.0 \n", "1 LC 45.0 53.0 712.0 1050.0 \n", "2 LC 64.0 79.0 2050.0 4050.0 \n", "3 LC 57.3 64.0 1066.0 1567.0 \n", "4 LC 64.0 81.0 1930.0 3310.0 \n", "\n", " MinWingspan MaxWingspan \n", "0 76.0 94.0 \n", "1 85.0 93.0 \n", "2 135.0 165.0 \n", "3 113.0 116.0 \n", "4 130.0 165.0 " ], "text/html": "
\n | Name | \nScientificName | \nCategory | \nOrder | \nFamily | \nGenus | \nConservationStatus | \nMinLength | \nMaxLength | \nMinBodyMass | \nMaxBodyMass | \nMinWingspan | \nMaxWingspan | \n
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \nBlack-bellied whistling-duck | \nDendrocygna autumnalis | \nDucks/Geese/Waterfowl | \nAnseriformes | \nAnatidae | \nDendrocygna | \nLC | \n47.0 | \n56.0 | \n652.0 | \n1020.0 | \n76.0 | \n94.0 | \n
1 | \nFulvous whistling-duck | \nDendrocygna bicolor | \nDucks/Geese/Waterfowl | \nAnseriformes | \nAnatidae | \nDendrocygna | \nLC | \n45.0 | \n53.0 | \n712.0 | \n1050.0 | \n85.0 | \n93.0 | \n
2 | \nSnow goose | \nAnser caerulescens | \nDucks/Geese/Waterfowl | \nAnseriformes | \nAnatidae | \nAnser | \nLC | \n64.0 | \n79.0 | \n2050.0 | \n4050.0 | \n135.0 | \n165.0 | \n
3 | \nRoss's goose | \nAnser rossii | \nDucks/Geese/Waterfowl | \nAnseriformes | \nAnatidae | \nAnser | \nLC | \n57.3 | \n64.0 | \n1066.0 | \n1567.0 | \n113.0 | \n116.0 | \n
4 | \nGreater white-fronted goose | \nAnser albifrons | \nDucks/Geese/Waterfowl | \nAnseriformes | \nAnatidae | \nAnser | \nLC | \n64.0 | \n81.0 | \n1930.0 | \n3310.0 | \n130.0 | \n165.0 | \n