From 716418dfa81afd1bc79fa35f767367bd70e94735 Mon Sep 17 00:00:00 2001 From: LilyElizabethJohn Date: Mon, 21 Oct 2019 20:43:11 -0700 Subject: [PATCH 1/2] level 1 --- delete_me.txt | 4 ---- lily.txt | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 delete_me.txt create mode 100644 lily.txt diff --git a/delete_me.txt b/delete_me.txt deleted file mode 100644 index 780c39b..0000000 --- a/delete_me.txt +++ /dev/null @@ -1,4 +0,0 @@ - - - -This is the file to delete \ No newline at end of file diff --git a/lily.txt b/lily.txt new file mode 100644 index 0000000..6f8a452 --- /dev/null +++ b/lily.txt @@ -0,0 +1,6 @@ +Your name:Lily +Why you came to the workshop?git confuses me :) +Is this your first event? No +Favorite ice cream flavor? Mango +What is the name of the person sitting to the right and left of you? No Idea +Do you want to contribute to open source in the future? Interesting thought - Maybe \ No newline at end of file From 2e59eb3af56a674caf141310e45d6980050b92e4 Mon Sep 17 00:00:00 2001 From: Lily Elizabeth John Date: Thu, 6 May 2021 12:12:22 -0700 Subject: [PATCH 2/2] Created using Colaboratory --- StreamLit_Trial.ipynb | 349 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 349 insertions(+) create mode 100644 StreamLit_Trial.ipynb diff --git a/StreamLit_Trial.ipynb b/StreamLit_Trial.ipynb new file mode 100644 index 0000000..b18a869 --- /dev/null +++ b/StreamLit_Trial.ipynb @@ -0,0 +1,349 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "name": "StreamLit Trial", + "provenance": [], + "mount_file_id": "1LdJ_fIjF3ezuvGqPvRmwTbEL0rhKsA8N", + "authorship_tag": "ABX9TyMBGouLOP7a/YsFt2cgW+V+", + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + }, + "accelerator": "GPU" + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "j1k0Hk-7Didt", + "outputId": "b8483edf-da29-4c00-c4c3-bfa6db6d644d" + }, + "source": [ + "print(\"Hello StreamLit\")" + ], + "execution_count": 1, + "outputs": [ + { + "output_type": "stream", + "text": [ + "Hello StreamLit\n" + ], + "name": "stdout" + } + ] + }, + { + "cell_type": "code", + "metadata": { + "id": "fH1IsekxD0gY" + }, + "source": [ + "" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "metadata": { + "id": "mmSN05GND5Ll" + }, + "source": [ + "" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": { + "id": "v6ASSY2CD6ZH" + }, + "source": [ + "Trying out Google Colab" + ] + }, + { + "cell_type": "code", + "metadata": { + "id": "_GSP4VqyD9Hn" + }, + "source": [ + "" + ], + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": { + "id": "Y_D8jmEEEE8z" + }, + "source": [ + "*Trying* **Bold**" + ] + }, + { + "cell_type": "code", + "metadata": { + "id": "ul-MR5azENsI" + }, + "source": [ + "import pandas as pd" + ], + "execution_count": 2, + "outputs": [] + }, + { + "cell_type": "code", + "metadata": { + "id": "vJaxYEVnE-cY" + }, + "source": [ + "df=pd.read_csv('/content/share-global-forest.csv')" + ], + "execution_count": 6, + "outputs": [] + }, + { + "cell_type": "code", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 204 + }, + "id": "dag2BVk5FDA2", + "outputId": "38e829b2-d17d-4b83-c815-7de650131b90" + }, + "source": [ + "df.head()" + ], + "execution_count": 7, + "outputs": [ + { + "output_type": "execute_result", + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
EntityCodeYearShare of global forest area
0AfghanistanAFG19900.028525
1AfghanistanAFG19910.028578
2AfghanistanAFG19920.028631
3AfghanistanAFG19930.028684
4AfghanistanAFG19940.028738
\n", + "
" + ], + "text/plain": [ + " Entity Code Year Share of global forest area\n", + "0 Afghanistan AFG 1990 0.028525\n", + "1 Afghanistan AFG 1991 0.028578\n", + "2 Afghanistan AFG 1992 0.028631\n", + "3 Afghanistan AFG 1993 0.028684\n", + "4 Afghanistan AFG 1994 0.028738" + ] + }, + "metadata": { + "tags": [] + }, + "execution_count": 7 + } + ] + }, + { + "cell_type": "code", + "metadata": { + "id": "f9ERV2EiFSyf" + }, + "source": [ + "df2=pd.read_csv('/content/drive/MyDrive/share-global-forest.csv')" + ], + "execution_count": 8, + "outputs": [] + }, + { + "cell_type": "code", + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 204 + }, + "id": "FG-_rIheF1Bp", + "outputId": "556486c1-3614-44d6-cead-9077d097ef04" + }, + "source": [ + "df2.head()" + ], + "execution_count": 9, + "outputs": [ + { + "output_type": "execute_result", + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
EntityCodeYearShare of global forest area
0AfghanistanAFG19900.028525
1AfghanistanAFG19910.028578
2AfghanistanAFG19920.028631
3AfghanistanAFG19930.028684
4AfghanistanAFG19940.028738
\n", + "
" + ], + "text/plain": [ + " Entity Code Year Share of global forest area\n", + "0 Afghanistan AFG 1990 0.028525\n", + "1 Afghanistan AFG 1991 0.028578\n", + "2 Afghanistan AFG 1992 0.028631\n", + "3 Afghanistan AFG 1993 0.028684\n", + "4 Afghanistan AFG 1994 0.028738" + ] + }, + "metadata": { + "tags": [] + }, + "execution_count": 9 + } + ] + }, + { + "cell_type": "code", + "metadata": { + "id": "BL53GI_tF2iu" + }, + "source": [ + "" + ], + "execution_count": null, + "outputs": [] + } + ] +} \ No newline at end of file