Skip to content

Instantly share code, notes, and snippets.

@flyfir248
Created July 19, 2022 14:06
Show Gist options
  • Save flyfir248/11dbfe010546905bdc0f1631f7dfce13 to your computer and use it in GitHub Desktop.
Save flyfir248/11dbfe010546905bdc0f1631f7dfce13 to your computer and use it in GitHub Desktop.
Website Notebook Classwork 7.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "Website Notebook Classwork 7.ipynb",
"provenance": [],
"authorship_tag": "ABX9TyPAS0+0frnFZ8l+OeOgCybS",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/flyfir248/11dbfe010546905bdc0f1631f7dfce13/website-notebook-classwork-7.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"id": "mI0uEXSXxibv"
},
"outputs": [],
"source": [
"import numpy as np\n",
"\n",
"Array1 = np.array([1,2,3])\n",
"Array2 = np.array([7,8,9])"
]
},
{
"cell_type": "code",
"source": [
"np.concatenate([Array1,Array2], axis = 0)"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "8ToUor34xwcL",
"outputId": "b5934f5f-4efd-4bc4-b4a7-7b2684dd0175"
},
"execution_count": 2,
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"array([1, 2, 3, 7, 8, 9])"
]
},
"metadata": {},
"execution_count": 2
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment