{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.12.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceType":"competition","sourceId":39272,"databundleVersionId":4629629},{"sourceType":"datasetVersion","sourceId":4294229,"datasetId":2530304,"databundleVersionId":4352147}],"dockerImageVersionId":31286,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import pandas as pd\n\n# Read Excel file\ndf = pd.read_excel('/kaggle/input/datasets/tommyngx/cmmd2022/TheChineseMammographyDatabase/CMMD_clinicaldata_revision.xlsx', \n                   sheet_name='Sheet1')\n\n# Count unique abnormality per classification\nresult = pd.crosstab(df['classification'], df['abnormality'])\n\n\nprint(result)\n","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2026-02-19T11:41:52.137295Z","iopub.execute_input":"2026-02-19T11:41:52.138271Z","iopub.status.idle":"2026-02-19T11:41:53.50955Z","shell.execute_reply.started":"2026-02-19T11:41:52.138229Z","shell.execute_reply":"2026-02-19T11:41:53.508514Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"csv=pd.read_csv(\"/kaggle/input/competitions/rsna-breast-cancer-detection/train.csv\")\nprint(csv[\"cancer\"].value_counts())","metadata":{"trusted":true,"execution":{"iopub.status.busy":"2026-02-19T11:42:37.748662Z","iopub.execute_input":"2026-02-19T11:42:37.749091Z","iopub.status.idle":"2026-02-19T11:42:37.837802Z","shell.execute_reply.started":"2026-02-19T11:42:37.749056Z","shell.execute_reply":"2026-02-19T11:42:37.836558Z"}},"outputs":[],"execution_count":null}]}