{ "cells": [ { "cell_type": "markdown", "id": "cd70a97c", "metadata": {}, "source": [ "# dataframes" ] }, { "cell_type": "code", "execution_count": 46, "id": "b44d1d15", "metadata": {}, "outputs": [], "source": [ "# import the pandas library for working with tabular (spreadsheet) data\n", "\n", "import pandas as pd" ] }, { "cell_type": "markdown", "id": "15cdb89d", "metadata": {}, "source": [ "We will first work in our data in the form of a dataframe. A dataframe is a two-dimensional data structure that holds data in a table with rows and columns. It is the same as a dictionary or `dict` type of data." ] }, { "cell_type": "code", "execution_count": 47, "id": "f6256daa", "metadata": {}, "outputs": [], "source": [ "# pulling up a CSV of search results from congress.gov \n", "# if this code doesn't work, download the csv from link \n", "# below, and upload it to your google colab space\n", "# https://bit.ly/congress_csv\n", "\n", "df = pd.read_csv('https://bit.ly/transgender_raw_data')" ] }, { "cell_type": "code", "execution_count": 48, "id": "c5a0ff81", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Legislation Number | \n", "URL | \n", "Congress | \n", "Title | \n", "Sponsor | \n", "Party of Sponsor | \n", "Date of Introduction | \n", "Committees | \n", "Latest Action | \n", "Latest Action Date | \n", "... | \n", "Related Bill.211 | \n", "Related Bill.212 | \n", "Related Bill.213 | \n", "Latest Summary | \n", "Amends Bill | \n", "Date Offered | \n", "Date Submitted | \n", "Date Proposed | \n", "Amendment Text (Latest) | \n", "Amends Amendment | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "H.R. 1112 | \n", "https://www.congress.gov/bill/118th-congress/h... | \n", "118th Congress (2023-2024) | \n", "Ensuring Military Readiness Act of 2023 | \n", "Banks, Jim [Rep.-R-IN-3] | \n", "Republican | \n", "2/21/23 | \n", "House - Armed Services | \n", "Referred to the House Committee on Armed Servi... | \n", "2/21/23 | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "<p><b>Ensuring Military Readiness Act of 2023... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
1 | \n", "S. 435 | \n", "https://www.congress.gov/bill/118th-congress/s... | \n", "118th Congress (2023-2024) | \n", "Ensuring Military Readiness Act of 2023 | \n", "Rubio, Marco [Sen.-R-FL] | \n", "Republican | \n", "2/15/23 | \n", "Senate - Armed Services | \n", "Read twice and referred to the Committee on Ar... | \n", "2/15/23 | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "<p><b>Ensuring Military Readiness Act of 2023... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
2 | \n", "H.Res. 886 | \n", "https://www.congress.gov/bill/118th-congress/h... | \n", "118th Congress (2023-2024) | \n", "Supporting the goals and principles of Transge... | \n", "Jayapal, Pramila [Rep.-D-WA-7] | \n", "Democratic | \n", "11/21/23 | \n", "House - Judiciary | \n", "Referred to the House Committee on the Judiciary. | \n", "11/21/23 | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "<p>This resolution expresses support for the ... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
3 | \n", "S.Res. 464 | \n", "https://www.congress.gov/bill/118th-congress/s... | \n", "118th Congress (2023-2024) | \n", "A resolution supporting the goals and principl... | \n", "Hirono, Mazie K. [Sen.-D-HI] | \n", "Democratic | \n", "11/15/23 | \n", "Senate - Judiciary | \n", "Star Print ordered on resolution. | \n", "12/4/23 | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "<p>This resolution expresses support for the ... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
4 | \n", "H.Res. 269 | \n", "https://www.congress.gov/bill/118th-congress/h... | \n", "118th Congress (2023-2024) | \n", "Recognizing that it is the duty of the Federal... | \n", "Jayapal, Pramila [Rep.-D-WA-7] | \n", "Democratic | \n", "3/30/23 | \n", "House - Judiciary, Education and the Workforce... | \n", "Sponsor introductory remarks on measure. (CR H... | \n", "4/19/23 | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "<p>This resolution expresses support for impl... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
281 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "I welcome that discussion.\\n Mr. Chair, I yie... | \n", "NaN | \n", "
282 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "biotechnology equipment or service produced or... | \n", "NaN | \n", "
283 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "United States assistance has \\n been provi... | \n", "NaN | \n", "
284 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "Director of National Intelligence, shall submi... | \n", "NaN | \n", "
285 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "NaN | \n", "demanded.\\n A recorded vote was ordered.\\n T... | \n", "NaN | \n", "
286 rows × 650 columns
\n", "Ensuring Military Readiness Act of 2023... NaN \n", "1
Ensuring Military Readiness Act of 2023... NaN \n", "2
This resolution expresses support for the ... NaN \n", "3
This resolution expresses support for the ... NaN \n", "4
This resolution expresses support for impl... NaN \n",
".. ... ... \n",
"281 NaN NaN \n",
"282 NaN NaN \n",
"283 NaN NaN \n",
"284 NaN NaN \n",
"285 NaN NaN \n",
"\n",
" Date Offered Date Submitted Date Proposed \\\n",
"0 NaN NaN NaN \n",
"1 NaN NaN NaN \n",
"2 NaN NaN NaN \n",
"3 NaN NaN NaN \n",
"4 NaN NaN NaN \n",
".. ... ... ... \n",
"281 NaN NaN NaN \n",
"282 NaN NaN NaN \n",
"283 NaN NaN NaN \n",
"284 NaN NaN NaN \n",
"285 NaN NaN NaN \n",
"\n",
" Amendment Text (Latest) Amends Amendment \n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 NaN NaN \n",
"3 NaN NaN \n",
"4 NaN NaN \n",
".. ... ... \n",
"281 I welcome that discussion.\\n Mr. Chair, I yie... NaN \n",
"282 biotechnology equipment or service produced or... NaN \n",
"283 United States assistance has \\n been provi... NaN \n",
"284 Director of National Intelligence, shall submi... NaN \n",
"285 demanded.\\n A recorded vote was ordered.\\n T... NaN \n",
"\n",
"[286 rows x 650 columns]"
]
},
"execution_count": 48,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# checking out the df object\n",
"\n",
"df"
]
},
{
"cell_type": "markdown",
"id": "2c568ff2",
"metadata": {},
"source": [
"## What is a `dataframe` object?\n",
"- tabular format\n",
"- dictionary structure, with a particular syntax for accessing elements\n",
" - key-value pairs\n",
" - df['column']"
]
},
{
"cell_type": "code",
"execution_count": 49,
"id": "27b9f938",
"metadata": {},
"outputs": [],
"source": [
"filipa = {\n",
" 'name': ['filipa', 'da gama', 'calado'],\n",
" 'age': 34,\n",
" 'degree': 'literature',\n",
" 'job': 'digital scholarship specialist',\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 50,
"id": "57ef2713",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"dict"
]
},
"execution_count": 50,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"type(filipa)"
]
},
{
"cell_type": "code",
"execution_count": 51,
"id": "6af4ac80",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"['filipa', 'da gama', 'calado']"
]
},
"execution_count": 51,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"filipa['name']"
]
},
{
"cell_type": "code",
"execution_count": 52,
"id": "ef51f022",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"34"
]
},
"execution_count": 52,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"filipa['age']"
]
},
{
"cell_type": "code",
"execution_count": 53,
"id": "10db67fe",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'digital scholarship specialist'"
]
},
"execution_count": 53,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"filipa['job']"
]
},
{
"cell_type": "code",
"execution_count": 54,
"id": "8d58553a",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'filipa'"
]
},
"execution_count": 54,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# within a DF is a Series, a list type of object. Use list indexing to pull out items\n",
"\n",
"filipa['name'][0]"
]
},
{
"cell_type": "code",
"execution_count": 55,
"id": "e614328f",
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"'calado'"
]
},
"execution_count": 55,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"filipa['name'][2]"
]
},
{
"cell_type": "markdown",
"id": "13652794",
"metadata": {},
"source": [
"## viewing data: `info()` `head()` `tail()`"
]
},
{
"cell_type": "code",
"execution_count": 56,
"id": "a3ffc0fb",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" 5 rows × 650 columns Ensuring Military Readiness Act of 2023... NaN NaN \n",
"1 Ensuring Military Readiness Act of 2023... NaN NaN \n",
"2 This resolution expresses support for the ... NaN NaN \n",
"3 This resolution expresses support for the ... NaN NaN \n",
"4 This resolution expresses support for impl... NaN NaN \n",
"\n",
" Date Submitted Date Proposed Amendment Text (Latest) Amends Amendment \n",
"0 NaN NaN NaN NaN \n",
"1 NaN NaN NaN NaN \n",
"2 NaN NaN NaN NaN \n",
"3 NaN NaN NaN NaN \n",
"4 NaN NaN NaN NaN \n",
"\n",
"[5 rows x 650 columns]"
]
},
"execution_count": 57,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df.head()"
]
},
{
"cell_type": "code",
"execution_count": 58,
"id": "30fd982e",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" 5 rows × 650 columns 0 rows × 650 columns 5 rows × 650 columns 5 rows × 434 columns Ensuring Military Readiness Act of 2023... NaN NaN \n",
"1 Ensuring Military Readiness Act of 2023... NaN NaN \n",
"2 This resolution expresses support for the ... NaN NaN \n",
"3 This resolution expresses support for the ... NaN NaN \n",
"4 This resolution expresses support for impl... NaN NaN \n",
"\n",
" Date Submitted Date Proposed Amendment Text (Latest) Amends Amendment \n",
"0 NaN NaN NaN NaN \n",
"1 NaN NaN NaN NaN \n",
"2 NaN NaN NaN NaN \n",
"3 NaN NaN NaN NaN \n",
"4 NaN NaN NaN NaN \n",
"\n",
"[5 rows x 434 columns]"
]
},
"execution_count": 68,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# see there is no ellipses anymore on the column headers\n",
"\n",
"df.head()"
]
},
{
"cell_type": "markdown",
"id": "fe66f886",
"metadata": {},
"source": [
"How would we get rid of the rest of the columns that are mostly NaN? "
]
},
{
"cell_type": "code",
"execution_count": 69,
"id": "b4c56a6b",
"metadata": {},
"outputs": [],
"source": [
"for item in df.columns.values:\n",
" if 'Subject' in item:\n",
" df = df.drop(item, axis=1)"
]
},
{
"cell_type": "code",
"execution_count": 70,
"id": "5ce8a0ac",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" \n",
"
\n",
"\n",
" \n",
" \n",
" \n",
" \n",
" Legislation Number \n",
" URL \n",
" Congress \n",
" Title \n",
" Sponsor \n",
" Party of Sponsor \n",
" Date of Introduction \n",
" Committees \n",
" Latest Action \n",
" Latest Action Date \n",
" ... \n",
" Related Bill.211 \n",
" Related Bill.212 \n",
" Related Bill.213 \n",
" Latest Summary \n",
" Amends Bill \n",
" Date Offered \n",
" Date Submitted \n",
" Date Proposed \n",
" Amendment Text (Latest) \n",
" Amends Amendment \n",
" \n",
" \n",
" 0 \n",
" H.R. 1112 \n",
" https://www.congress.gov/bill/118th-congress/h... \n",
" 118th Congress (2023-2024) \n",
" Ensuring Military Readiness Act of 2023 \n",
" Banks, Jim [Rep.-R-IN-3] \n",
" Republican \n",
" 2/21/23 \n",
" House - Armed Services \n",
" Referred to the House Committee on Armed Servi... \n",
" 2/21/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p><b>Ensuring Military Readiness Act of 2023... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" 1 \n",
" S. 435 \n",
" https://www.congress.gov/bill/118th-congress/s... \n",
" 118th Congress (2023-2024) \n",
" Ensuring Military Readiness Act of 2023 \n",
" Rubio, Marco [Sen.-R-FL] \n",
" Republican \n",
" 2/15/23 \n",
" Senate - Armed Services \n",
" Read twice and referred to the Committee on Ar... \n",
" 2/15/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p><b>Ensuring Military Readiness Act of 2023... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" 2 \n",
" H.Res. 886 \n",
" https://www.congress.gov/bill/118th-congress/h... \n",
" 118th Congress (2023-2024) \n",
" Supporting the goals and principles of Transge... \n",
" Jayapal, Pramila [Rep.-D-WA-7] \n",
" Democratic \n",
" 11/21/23 \n",
" House - Judiciary \n",
" Referred to the House Committee on the Judiciary. \n",
" 11/21/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p>This resolution expresses support for the ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" 3 \n",
" S.Res. 464 \n",
" https://www.congress.gov/bill/118th-congress/s... \n",
" 118th Congress (2023-2024) \n",
" A resolution supporting the goals and principl... \n",
" Hirono, Mazie K. [Sen.-D-HI] \n",
" Democratic \n",
" 11/15/23 \n",
" Senate - Judiciary \n",
" Star Print ordered on resolution. \n",
" 12/4/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p>This resolution expresses support for the ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" \n",
"4 \n",
" H.Res. 269 \n",
" https://www.congress.gov/bill/118th-congress/h... \n",
" 118th Congress (2023-2024) \n",
" Recognizing that it is the duty of the Federal... \n",
" Jayapal, Pramila [Rep.-D-WA-7] \n",
" Democratic \n",
" 3/30/23 \n",
" House - Judiciary, Education and the Workforce... \n",
" Sponsor introductory remarks on measure. (CR H... \n",
" 4/19/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p>This resolution expresses support for impl... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
"
\n",
"\n",
" \n",
" \n",
" \n",
" \n",
" Legislation Number \n",
" URL \n",
" Congress \n",
" Title \n",
" Sponsor \n",
" Party of Sponsor \n",
" Date of Introduction \n",
" Committees \n",
" Latest Action \n",
" Latest Action Date \n",
" ... \n",
" Related Bill.211 \n",
" Related Bill.212 \n",
" Related Bill.213 \n",
" Latest Summary \n",
" Amends Bill \n",
" Date Offered \n",
" Date Submitted \n",
" Date Proposed \n",
" Amendment Text (Latest) \n",
" Amends Amendment \n",
" \n",
" \n",
" 281 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" I welcome that discussion.\\n Mr. Chair, I yie... \n",
" NaN \n",
" \n",
" \n",
" 282 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" biotechnology equipment or service produced or... \n",
" NaN \n",
" \n",
" \n",
" 283 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" United States assistance has \\n been provi... \n",
" NaN \n",
" \n",
" \n",
" 284 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" Director of National Intelligence, shall submi... \n",
" NaN \n",
" \n",
" \n",
" \n",
"285 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" demanded.\\n A recorded vote was ordered.\\n T... \n",
" NaN \n",
" \n",
" \n",
"
\n",
"\n",
" \n",
" \n",
" \n",
" \n",
"\n",
" Legislation Number \n",
" URL \n",
" Congress \n",
" Title \n",
" Sponsor \n",
" Party of Sponsor \n",
" Date of Introduction \n",
" Committees \n",
" Latest Action \n",
" Latest Action Date \n",
" ... \n",
" Related Bill.211 \n",
" Related Bill.212 \n",
" Related Bill.213 \n",
" Latest Summary \n",
" Amends Bill \n",
" Date Offered \n",
" Date Submitted \n",
" Date Proposed \n",
" Amendment Text (Latest) \n",
" Amends Amendment \n",
" \n",
" \n",
"
\n",
"\n",
" \n",
" \n",
" \n",
" \n",
" Legislation Number \n",
" URL \n",
" Congress \n",
" Title \n",
" Sponsor \n",
" Party of Sponsor \n",
" Date of Introduction \n",
" Committees \n",
" Latest Action \n",
" Latest Action Date \n",
" ... \n",
" Related Bill.211 \n",
" Related Bill.212 \n",
" Related Bill.213 \n",
" Latest Summary \n",
" Amends Bill \n",
" Date Offered \n",
" Date Submitted \n",
" Date Proposed \n",
" Amendment Text (Latest) \n",
" Amends Amendment \n",
" \n",
" \n",
" 281 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" I welcome that discussion.\\n Mr. Chair, I yie... \n",
" NaN \n",
" \n",
" \n",
" 282 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" biotechnology equipment or service produced or... \n",
" NaN \n",
" \n",
" \n",
" 283 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" United States assistance has \\n been provi... \n",
" NaN \n",
" \n",
" \n",
" 284 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" Director of National Intelligence, shall submi... \n",
" NaN \n",
" \n",
" \n",
" \n",
"285 \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" demanded.\\n A recorded vote was ordered.\\n T... \n",
" NaN \n",
" \n",
" \n",
"
\n",
"\n",
" \n",
" \n",
" \n",
" \n",
" Legislation Number \n",
" URL \n",
" Congress \n",
" Title \n",
" Sponsor \n",
" Party of Sponsor \n",
" Date of Introduction \n",
" Committees \n",
" Latest Action \n",
" Latest Action Date \n",
" ... \n",
" Related Bill.211 \n",
" Related Bill.212 \n",
" Related Bill.213 \n",
" Latest Summary \n",
" Amends Bill \n",
" Date Offered \n",
" Date Submitted \n",
" Date Proposed \n",
" Amendment Text (Latest) \n",
" Amends Amendment \n",
" \n",
" \n",
" 0 \n",
" H.R. 1112 \n",
" https://www.congress.gov/bill/118th-congress/h... \n",
" 118th Congress (2023-2024) \n",
" Ensuring Military Readiness Act of 2023 \n",
" Banks, Jim [Rep.-R-IN-3] \n",
" Republican \n",
" 2/21/23 \n",
" House - Armed Services \n",
" Referred to the House Committee on Armed Servi... \n",
" 2/21/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p><b>Ensuring Military Readiness Act of 2023... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" 1 \n",
" S. 435 \n",
" https://www.congress.gov/bill/118th-congress/s... \n",
" 118th Congress (2023-2024) \n",
" Ensuring Military Readiness Act of 2023 \n",
" Rubio, Marco [Sen.-R-FL] \n",
" Republican \n",
" 2/15/23 \n",
" Senate - Armed Services \n",
" Read twice and referred to the Committee on Ar... \n",
" 2/15/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p><b>Ensuring Military Readiness Act of 2023... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" 2 \n",
" H.Res. 886 \n",
" https://www.congress.gov/bill/118th-congress/h... \n",
" 118th Congress (2023-2024) \n",
" Supporting the goals and principles of Transge... \n",
" Jayapal, Pramila [Rep.-D-WA-7] \n",
" Democratic \n",
" 11/21/23 \n",
" House - Judiciary \n",
" Referred to the House Committee on the Judiciary. \n",
" 11/21/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p>This resolution expresses support for the ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" 3 \n",
" S.Res. 464 \n",
" https://www.congress.gov/bill/118th-congress/s... \n",
" 118th Congress (2023-2024) \n",
" A resolution supporting the goals and principl... \n",
" Hirono, Mazie K. [Sen.-D-HI] \n",
" Democratic \n",
" 11/15/23 \n",
" Senate - Judiciary \n",
" Star Print ordered on resolution. \n",
" 12/4/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p>This resolution expresses support for the ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" \n",
" \n",
" \n",
"4 \n",
" H.Res. 269 \n",
" https://www.congress.gov/bill/118th-congress/h... \n",
" 118th Congress (2023-2024) \n",
" Recognizing that it is the duty of the Federal... \n",
" Jayapal, Pramila [Rep.-D-WA-7] \n",
" Democratic \n",
" 3/30/23 \n",
" House - Judiciary, Education and the Workforce... \n",
" Sponsor introductory remarks on measure. (CR H... \n",
" 4/19/23 \n",
" ... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" <p>This resolution expresses support for impl... \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
" NaN \n",
"