{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.10.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"},"kaggle":{"accelerator":"none","dataSources":[{"sourceId":91249,"databundleVersionId":11294684,"sourceType":"competition"}],"dockerImageVersionId":30918,"isInternetEnabled":true,"language":"python","sourceType":"notebook","isGpuEnabled":false}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"import pandas as pd\n\ndf = pd.read_csv(\"/kaggle/input/byu-locating-bacterial-flagellar-motors-2025/train_labels.csv\")\nfor tomo_id, gdf in df.groupby(\"tomo_id\"):\n    if gdf.iloc[0][\"Number of motors\"] == 0:\n        continue\n    if gdf.iloc[0][\"Number of motors\"] != len(gdf):\n        print(gdf.to_string(index=False))\n        print()","metadata":{"_uuid":"8f2839f25d086af736a60e9eeb907d3b93b6e0e5","_cell_guid":"b1076dfc-b9ad-4769-8c92-a6c4dae69d19","trusted":true,"execution":{"iopub.status.busy":"2025-03-08T10:07:16.635807Z","iopub.execute_input":"2025-03-08T10:07:16.636274Z","iopub.status.idle":"2025-03-08T10:07:16.741567Z","shell.execute_reply.started":"2025-03-08T10:07:16.636244Z","shell.execute_reply":"2025-03-08T10:07:16.739956Z"}},"outputs":[],"execution_count":null},{"cell_type":"code","source":"","metadata":{"trusted":true},"outputs":[],"execution_count":null}]}