1
0

updating look at phab tasks

This commit is contained in:
Matthew Gaughan 2025-03-06 10:28:22 -08:00
parent 7ec6a16597
commit 2127d985f2
2 changed files with 61 additions and 65 deletions

File diff suppressed because one or more lines are too long

View File

@ -54,7 +54,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 6,
"id": "fa6a7cea-1375-4153-a388-1847dfa5b257",
"metadata": {},
"outputs": [],
@ -65,7 +65,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 7,
"id": "812ab4c8-2561-466b-bc57-defc93f5c893",
"metadata": {},
"outputs": [],
@ -81,7 +81,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 8,
"id": "60bcef32-67be-44f5-a51a-84e6e63d29ed",
"metadata": {},
"outputs": [],
@ -92,7 +92,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 9,
"id": "7babf07b-4f91-4e48-88a9-4fe10f8b668d",
"metadata": {},
"outputs": [],
@ -121,7 +121,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 10,
"id": "558d1638-abe9-4fc2-896e-6fc1bc396ca3",
"metadata": {},
"outputs": [
@ -462,7 +462,7 @@
"[32488 rows x 15 columns]"
]
},
"execution_count": 9,
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
@ -476,7 +476,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 11,
"id": "acb87a1a-c3e0-4d3f-8450-e2af96150e94",
"metadata": {},
"outputs": [],
@ -488,7 +488,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 12,
"id": "b67c136e-16c4-4002-a2d6-f92c88252baf",
"metadata": {},
"outputs": [],
@ -498,7 +498,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 13,
"id": "f749706a-f2bb-42e3-aae5-3876b00c48ad",
"metadata": {},
"outputs": [
@ -506,7 +506,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_56151/2706376531.py:1: SettingWithCopyWarning: \n",
"/tmp/ipykernel_19414/2706376531.py:1: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
@ -521,7 +521,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 14,
"id": "82c48463-5a90-4105-9ee9-5763d0b1e35b",
"metadata": {},
"outputs": [],
@ -777,7 +777,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_56151/3477839074.py:2: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.\n",
"/tmp/ipykernel_19414/3477839074.py:2: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.\n",
" filtered_dependencies = dependency_relations_df[dependency_relations_df['token'].str.contains(pattern, regex=True)]\n"
]
}
@ -873,7 +873,7 @@
},
{
"cell_type": "code",
"execution_count": 44,
"execution_count": 21,
"id": "dae8ebc0-05f3-48c1-946f-fb70e074e5ea",
"metadata": {},
"outputs": [
@ -881,9 +881,9 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_56151/4021189635.py:3: UserWarning: Converting to PeriodArray/Index representation will drop timezone information.\n",
"/tmp/ipykernel_19414/3977280642.py:3: UserWarning: Converting to PeriodArray/Index representation will drop timezone information.\n",
" task_phab_df['week'] = task_phab_df['timestamp'].dt.to_period('W').dt.start_time\n",
"/tmp/ipykernel_56151/4021189635.py:3: SettingWithCopyWarning: \n",
"/tmp/ipykernel_19414/3977280642.py:3: SettingWithCopyWarning: \n",
"A value is trying to be set on a copy of a slice from a DataFrame.\n",
"Try using .loc[row_indexer,col_indexer] = value instead\n",
"\n",
@ -900,6 +900,16 @@
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/plain": [
"9816"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
@ -923,7 +933,9 @@
"plt.xticks(rotation=45)\n",
"plt.grid(True)\n",
"plt.tight_layout()\n",
"plt.show()"
"plt.show()\n",
"\n",
"#len(filtered_phab_df[filtered_phab_df['TaskPHID'].isin(task_phab_df['TaskPHID'])])"
]
},
{