first commit

This commit is contained in:
bdaneels
2024-11-18 11:59:21 +01:00
parent d51c60d76d
commit e3e65a9c51
12 changed files with 1997 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
import pandas as pd
file_path = 'file.xlsx'
sheet_name = 'ps (32)'
df = pd.read_excel(file_path, sheet_name=sheet_name)
filtered_df = df[df['Examenvorm'] == 'Schriftelijk' ]
filtered_df = filtered_df[filtered_df['Aant. inschr.'] > 65]
filtered_df = filtered_df[['Datum S+','Beginuur S+','Einduur S+', 'Studiegidsnr.', 'Omschrijving', 'Docenten', 'Aant. inschr.']]
#formatting the timestrings
filtered_df['Beginuur S+'] = filtered_df['Beginuur S+'].apply(lambda x: x.strftime('%H:%M'))
filtered_df['Einduur S+'] = filtered_df['Einduur S+'].apply(lambda x: x.strftime('%H:%M'))
filtered_df['Docenten'] = filtered_df['Docenten'].str.replace(r'\b(Titularis|Co-Titularis|Medewerker)\b', '',
regex=True).str.strip()
filtered_df.to_excel('filtered_grote_lokalen.xlsx', index=False)

View File

@@ -0,0 +1,7 @@
<xml xmlns:o="urn:schemas-microsoft-com:office:office">
<o:MainFile HRef="../ps%20(32).xls"/>
<o:File HRef="stylesheet.css"/>
<o:File HRef="tabstrip.htm"/>
<o:File HRef="sheet001.htm"/>
<o:File HRef="filelist.xml"/>
</xml>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,175 @@
tr
{mso-height-source:auto;}
col
{mso-width-source:auto;}
br
{mso-data-placement:same-cell;}
.style0
{mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
mso-rotate:0;
mso-background-source:auto;
mso-pattern:auto;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
td
{mso-style-parent:style0;
padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
.xl65
{mso-style-parent:style0;
font-size:10.0pt;
font-weight:700;
text-align:center;
vertical-align:middle;
border:.5pt solid black;
white-space:normal;}
.xl66
{mso-style-parent:style0;
border:.5pt solid black;
white-space:normal;}
.xl67
{mso-style-parent:style0;
font-size:10.0pt;
border:.5pt solid black;
white-space:normal;}
.xl68
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Date";
border:.5pt solid black;
white-space:normal;}
.xl69
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Time";
border:.5pt solid black;
white-space:normal;}
.xl70
{mso-style-parent:style0;
font-size:10.0pt;
border-top:.5pt solid black;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl71
{mso-style-parent:style0;
font-size:10.0pt;
border-top:none;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl72
{mso-style-parent:style0;
font-size:10.0pt;
border-top:none;
border-right:.5pt solid black;
border-bottom:.5pt solid black;
border-left:.5pt solid black;
white-space:normal;}
.xl73
{mso-style-parent:style0;
border-top:.5pt solid black;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl74
{mso-style-parent:style0;
border-top:none;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl75
{mso-style-parent:style0;
border-top:none;
border-right:.5pt solid black;
border-bottom:.5pt solid black;
border-left:.5pt solid black;
white-space:normal;}
.xl76
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Date";
border-top:.5pt solid black;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl77
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Date";
border-top:none;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl78
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Date";
border-top:none;
border-right:.5pt solid black;
border-bottom:.5pt solid black;
border-left:.5pt solid black;
white-space:normal;}
.xl79
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Time";
border-top:.5pt solid black;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl80
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Time";
border-top:none;
border-right:.5pt solid black;
border-bottom:none;
border-left:.5pt solid black;
white-space:normal;}
.xl81
{mso-style-parent:style0;
font-size:10.0pt;
mso-number-format:"Short Time";
border-top:none;
border-right:.5pt solid black;
border-bottom:.5pt solid black;
border-left:.5pt solid black;
white-space:normal;}

View File

@@ -0,0 +1,32 @@
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link id=Main-File rel=Main-File href="../ps%20(32).xls">
<script language="JavaScript">
<!--
if (window.name!="frTabs")
window.location.replace(document.all.item("Main-File").href);
//-->
</script>
<style>
<!--
A {
text-decoration:none;
color:#000000;
font-size:9pt;
}
-->
</style>
</head>
<body topmargin=0 leftmargin=0 bgcolor="#808080">
<table border=0 cellspacing=1>
<tr>
<td bgcolor="#FFFFFF" nowrap><b><small><small>&nbsp;<a href="sheet001.htm" target="frSheet"><font face="Arial" color="#000000">ps (32)</font></a>&nbsp;</small></small></b></td>
</tr>
</table>
</body>
</html>