File size: 40,092 Bytes
3752cdf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 |
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/tmp/ipykernel_751668/3571106454.py:2: DeprecationWarning: \n",
"Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),\n",
"(to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)\n",
"but was not found to be installed on your system.\n",
"If this would cause problems for you,\n",
"please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466\n",
" \n",
" import pandas as pd\n"
]
}
],
"source": [
"import os\n",
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"# Europe\n",
"input_filepath = \"../data/raw\"\n",
"csv_files = os.listdir(f\"{input_filepath}/BM_csv_files/3000BC-AD500/\")\n",
"europe_csv_files = [file for file in csv_files if \"africa\" in file.lower()]\n",
"\n",
"if europe_csv_files:\n",
" # europe_csv_path = f\"{output_filepath}/BM_images/europe/\"\n",
" # if not os.path.exists(europe_csv_path):\n",
" # os.makedirs(europe_csv_path)\n",
"\n",
" europe_df = pd.DataFrame()\n",
" for csv_file in europe_csv_files:\n",
" csv_path = f\"{input_filepath}/BM_csv_files/3000BC-AD500/{csv_file}\"\n",
" df = pd.read_csv(csv_path)\n",
" europe_df = pd.concat([europe_df, df], ignore_index=True)\n",
"\n",
" # europe_df.drop_duplicates(inplace=True)\n",
" # europe_df.to_csv(f\"{europe_csv_path}/europe.csv\", index=False)\n",
" # print(\"Europe CSV file created successfully!\")\n",
"else:\n",
" print(\"No Europe CSV files found.\")"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"region = \"africa\"\n",
"region_csv_files = [file for file in csv_files if region in file.lower()]\n",
"region_df = pd.concat(\n",
" [\n",
" pd.read_csv(f\"{input_filepath}/BM_csv_files/3000BC-AD500/{file}\")\n",
" for file in region_csv_files\n",
" ]\n",
")\n",
"region_df[\"Museum number\"] = region_df[\"Museum number\"].str.replace(r\"^No: \", \"\", regex=True)\n",
"region_df.drop_duplicates(inplace=True)\n",
"region_df = region_df[region_df[\"Museum number\"] != \"null\"]"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Image</th>\n",
" <th>Object type</th>\n",
" <th>Museum number</th>\n",
" <th>Title</th>\n",
" <th>Denomination</th>\n",
" <th>Escapement</th>\n",
" <th>Description</th>\n",
" <th>Producer name</th>\n",
" <th>School/style</th>\n",
" <th>State</th>\n",
" <th>...</th>\n",
" <th>Acq date</th>\n",
" <th>Acq notes (acq)</th>\n",
" <th>Acq notes (exc)</th>\n",
" <th>Dept</th>\n",
" <th>BM/Big number</th>\n",
" <th>Reg number</th>\n",
" <th>Add ids</th>\n",
" <th>Cat no</th>\n",
" <th>Banknote serial number</th>\n",
" <th>Joined objects</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>acorn lekythos</td>\n",
" <td>No: 1888,0601.716</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Attic red-figured pottery acorn lekythos, rest...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1888</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1885-1886.</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1888,0601.716</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>acroterion</td>\n",
" <td>No: 1886,0401.45</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Fragment of a marble corner palmetto with bird...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.45</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>acroterion</td>\n",
" <td>No: 1886,0401.1215</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Fragment of a marble acroterion palmetto. Two ...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1886</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.1215</td>\n",
" <td>Miscellaneous number: 1886,0401.44</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>adze; hoe</td>\n",
" <td>No: null</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Iron adze or hoe.</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1885-1886 by Petrie.</td>\n",
" <td>External</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Miscellaneous number: 1886.XI.5 (Publication p...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>aegis; votive offering</td>\n",
" <td>No: null</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Solid-cast fragmentary Menat-counterweight of ...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1884-1885. 1885: excavated by the Eg...</td>\n",
" <td>External</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Miscellaneous number: 86.339 (Accession Number...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44921</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>whetstone</td>\n",
" <td>No: null</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Whetstone. Well worn on both sides; dull beige.</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>External</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Miscellaneous number: 2478 (Accession Number)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44922</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>whetstone</td>\n",
" <td>No: null</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Whetstone (?), made out of sandstone, in the s...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1886</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1884-1885. 1885: excavated by Willia...</td>\n",
" <td>External</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Miscellaneous number: 86.185 (Accession Number...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44923</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>whistle</td>\n",
" <td>No: EA22513</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>A terracotta whistle, still working, roughly i...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1885</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Egypt and Sudan</td>\n",
" <td>EA22513</td>\n",
" <td>1885,0101.361</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44924</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>whistle</td>\n",
" <td>No: 1906,0301.7</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Hand-modelled terracotta whistle, still workin...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1906</td>\n",
" <td>NaN</td>\n",
" <td>Excavated May 1886.</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1906,0301.7</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>44925</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>null; plate</td>\n",
" <td>No: null</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Body of North Ionian Late Wild Goat Style pott...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>External</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Miscellaneous number: 26.2.35 (Accession Number)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>44926 rows × 47 columns</p>\n",
"</div>"
],
"text/plain": [
" Image \\\n",
"0 https://media.britishmuseum.org/media/Reposito... \n",
"1 https://media.britishmuseum.org/media/Reposito... \n",
"2 https://media.britishmuseum.org/media/Reposito... \n",
"3 https://media.britishmuseum.org/media/Reposito... \n",
"4 https://media.britishmuseum.org/media/Reposito... \n",
"... ... \n",
"44921 https://media.britishmuseum.org/media/Reposito... \n",
"44922 https://media.britishmuseum.org/media/Reposito... \n",
"44923 https://media.britishmuseum.org/media/Reposito... \n",
"44924 https://media.britishmuseum.org/media/Reposito... \n",
"44925 https://media.britishmuseum.org/media/Reposito... \n",
"\n",
" Object type Museum number Title Denomination \\\n",
"0 acorn lekythos No: 1888,0601.716 NaN NaN \n",
"1 acroterion No: 1886,0401.45 NaN NaN \n",
"2 acroterion No: 1886,0401.1215 NaN NaN \n",
"3 adze; hoe No: null NaN NaN \n",
"4 aegis; votive offering No: null NaN NaN \n",
"... ... ... ... ... \n",
"44921 whetstone No: null NaN NaN \n",
"44922 whetstone No: null NaN NaN \n",
"44923 whistle No: EA22513 NaN NaN \n",
"44924 whistle No: 1906,0301.7 NaN NaN \n",
"44925 null; plate No: null NaN NaN \n",
"\n",
" Escapement Description \\\n",
"0 NaN Attic red-figured pottery acorn lekythos, rest... \n",
"1 NaN Fragment of a marble corner palmetto with bird... \n",
"2 NaN Fragment of a marble acroterion palmetto. Two ... \n",
"3 NaN Iron adze or hoe. \n",
"4 NaN Solid-cast fragmentary Menat-counterweight of ... \n",
"... ... ... \n",
"44921 NaN Whetstone. Well worn on both sides; dull beige. \n",
"44922 NaN Whetstone (?), made out of sandstone, in the s... \n",
"44923 NaN A terracotta whistle, still working, roughly i... \n",
"44924 NaN Hand-modelled terracotta whistle, still workin... \n",
"44925 NaN Body of North Ionian Late Wild Goat Style pott... \n",
"\n",
" Producer name School/style State ... Acq date Acq notes (acq) \\\n",
"0 NaN NaN NaN ... 1888 NaN \n",
"1 NaN NaN NaN ... NaN NaN \n",
"2 NaN NaN NaN ... 1886 NaN \n",
"3 NaN NaN NaN ... NaN NaN \n",
"4 NaN NaN NaN ... NaN NaN \n",
"... ... ... ... ... ... ... \n",
"44921 NaN NaN NaN ... NaN NaN \n",
"44922 NaN NaN NaN ... 1886 NaN \n",
"44923 NaN NaN NaN ... 1885 NaN \n",
"44924 NaN NaN NaN ... 1906 NaN \n",
"44925 NaN NaN NaN ... NaN NaN \n",
"\n",
" Acq notes (exc) Dept \\\n",
"0 Excavated 1885-1886. Greek and Roman \n",
"1 NaN Greek and Roman \n",
"2 NaN Greek and Roman \n",
"3 Excavated 1885-1886 by Petrie. External \n",
"4 Excavated 1884-1885. 1885: excavated by the Eg... External \n",
"... ... ... \n",
"44921 NaN External \n",
"44922 Excavated 1884-1885. 1885: excavated by Willia... External \n",
"44923 NaN Egypt and Sudan \n",
"44924 Excavated May 1886. Greek and Roman \n",
"44925 NaN External \n",
"\n",
" BM/Big number Reg number \\\n",
"0 NaN 1888,0601.716 \n",
"1 NaN 1886,0401.45 \n",
"2 NaN 1886,0401.1215 \n",
"3 NaN NaN \n",
"4 NaN NaN \n",
"... ... ... \n",
"44921 NaN NaN \n",
"44922 NaN NaN \n",
"44923 EA22513 1885,0101.361 \n",
"44924 NaN 1906,0301.7 \n",
"44925 NaN NaN \n",
"\n",
" Add ids Cat no \\\n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 Miscellaneous number: 1886,0401.44 NaN \n",
"3 Miscellaneous number: 1886.XI.5 (Publication p... NaN \n",
"4 Miscellaneous number: 86.339 (Accession Number... NaN \n",
"... ... ... \n",
"44921 Miscellaneous number: 2478 (Accession Number) NaN \n",
"44922 Miscellaneous number: 86.185 (Accession Number... NaN \n",
"44923 NaN NaN \n",
"44924 NaN NaN \n",
"44925 Miscellaneous number: 26.2.35 (Accession Number) NaN \n",
"\n",
" Banknote serial number Joined objects \n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 NaN NaN \n",
"3 NaN NaN \n",
"4 NaN NaN \n",
"... ... ... \n",
"44921 NaN NaN \n",
"44922 NaN NaN \n",
"44923 NaN NaN \n",
"44924 NaN NaN \n",
"44925 NaN NaN \n",
"\n",
"[44926 rows x 47 columns]"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"europe_df"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"region_df.drop_duplicates(inplace=True)"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>Image</th>\n",
" <th>Object type</th>\n",
" <th>Museum number</th>\n",
" <th>Title</th>\n",
" <th>Denomination</th>\n",
" <th>Escapement</th>\n",
" <th>Description</th>\n",
" <th>Producer name</th>\n",
" <th>School/style</th>\n",
" <th>State</th>\n",
" <th>...</th>\n",
" <th>Acq date</th>\n",
" <th>Acq notes (acq)</th>\n",
" <th>Acq notes (exc)</th>\n",
" <th>Dept</th>\n",
" <th>BM/Big number</th>\n",
" <th>Reg number</th>\n",
" <th>Add ids</th>\n",
" <th>Cat no</th>\n",
" <th>Banknote serial number</th>\n",
" <th>Joined objects</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>acorn lekythos</td>\n",
" <td>1888,0601.716</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Attic red-figured pottery acorn lekythos, rest...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1888</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1885-1886.</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1888,0601.716</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>acroterion</td>\n",
" <td>1886,0401.45</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Fragment of a marble corner palmetto with bird...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.45</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>acroterion</td>\n",
" <td>1886,0401.1215</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Fragment of a marble acroterion palmetto. Two ...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1886</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.1215</td>\n",
" <td>Miscellaneous number: 1886,0401.44</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>alabastron</td>\n",
" <td>1894,1101.213</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Core-formed glass alabastron.\\r\\nOpaque orange...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1894</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1894,1101.213</td>\n",
" <td>Miscellaneous number: DBH.0056 (Harden number)</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>alabastron</td>\n",
" <td>132114</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Large baggy alabastron of horizontal banded, t...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1857</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Middle East</td>\n",
" <td>132114</td>\n",
" <td>1857,1220.1</td>\n",
" <td>Miscellaneous number: 416 (paper label attache...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9301</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>vessel-fitting; lekane</td>\n",
" <td>1886,0401.1218</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Chian pottery plastic head, originally attache...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1886</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1884-1885.</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.1218</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9302</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>vessel-fitting; lid</td>\n",
" <td>1886,0401.1429</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Plastic double head of Chian, probably black-f...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1886</td>\n",
" <td>NaN</td>\n",
" <td>Excavated 1884-1885.</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.1429</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9304</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>volute krater</td>\n",
" <td>1924,1201.41</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Volute handle and rim sherd (consisting of 3 f...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1924,1201.41</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9310</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>volute krater</td>\n",
" <td>1924,1201.40</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Sherd (mended from two fragments) of Laconian ...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1924,1201.40</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9317</th>\n",
" <td>https://media.britishmuseum.org/media/Reposito...</td>\n",
" <td>wall-painting</td>\n",
" <td>1886,0401.67</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Stucco wall fragment, with marks of pointed to...</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>...</td>\n",
" <td>1886</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>Greek and Roman</td>\n",
" <td>NaN</td>\n",
" <td>1886,0401.67</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" <td>NaN</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>19570 rows × 47 columns</p>\n",
"</div>"
],
"text/plain": [
" Image \\\n",
"0 https://media.britishmuseum.org/media/Reposito... \n",
"1 https://media.britishmuseum.org/media/Reposito... \n",
"2 https://media.britishmuseum.org/media/Reposito... \n",
"7 https://media.britishmuseum.org/media/Reposito... \n",
"8 https://media.britishmuseum.org/media/Reposito... \n",
"... ... \n",
"9301 https://media.britishmuseum.org/media/Reposito... \n",
"9302 https://media.britishmuseum.org/media/Reposito... \n",
"9304 https://media.britishmuseum.org/media/Reposito... \n",
"9310 https://media.britishmuseum.org/media/Reposito... \n",
"9317 https://media.britishmuseum.org/media/Reposito... \n",
"\n",
" Object type Museum number Title Denomination Escapement \\\n",
"0 acorn lekythos 1888,0601.716 NaN NaN NaN \n",
"1 acroterion 1886,0401.45 NaN NaN NaN \n",
"2 acroterion 1886,0401.1215 NaN NaN NaN \n",
"7 alabastron 1894,1101.213 NaN NaN NaN \n",
"8 alabastron 132114 NaN NaN NaN \n",
"... ... ... ... ... ... \n",
"9301 vessel-fitting; lekane 1886,0401.1218 NaN NaN NaN \n",
"9302 vessel-fitting; lid 1886,0401.1429 NaN NaN NaN \n",
"9304 volute krater 1924,1201.41 NaN NaN NaN \n",
"9310 volute krater 1924,1201.40 NaN NaN NaN \n",
"9317 wall-painting 1886,0401.67 NaN NaN NaN \n",
"\n",
" Description Producer name \\\n",
"0 Attic red-figured pottery acorn lekythos, rest... NaN \n",
"1 Fragment of a marble corner palmetto with bird... NaN \n",
"2 Fragment of a marble acroterion palmetto. Two ... NaN \n",
"7 Core-formed glass alabastron.\\r\\nOpaque orange... NaN \n",
"8 Large baggy alabastron of horizontal banded, t... NaN \n",
"... ... ... \n",
"9301 Chian pottery plastic head, originally attache... NaN \n",
"9302 Plastic double head of Chian, probably black-f... NaN \n",
"9304 Volute handle and rim sherd (consisting of 3 f... NaN \n",
"9310 Sherd (mended from two fragments) of Laconian ... NaN \n",
"9317 Stucco wall fragment, with marks of pointed to... NaN \n",
"\n",
" School/style State ... Acq date Acq notes (acq) Acq notes (exc) \\\n",
"0 NaN NaN ... 1888 NaN Excavated 1885-1886. \n",
"1 NaN NaN ... NaN NaN NaN \n",
"2 NaN NaN ... 1886 NaN NaN \n",
"7 NaN NaN ... 1894 NaN NaN \n",
"8 NaN NaN ... 1857 NaN NaN \n",
"... ... ... ... ... ... ... \n",
"9301 NaN NaN ... 1886 NaN Excavated 1884-1885. \n",
"9302 NaN NaN ... 1886 NaN Excavated 1884-1885. \n",
"9304 NaN NaN ... NaN NaN NaN \n",
"9310 NaN NaN ... NaN NaN NaN \n",
"9317 NaN NaN ... 1886 NaN NaN \n",
"\n",
" Dept BM/Big number Reg number \\\n",
"0 Greek and Roman NaN 1888,0601.716 \n",
"1 Greek and Roman NaN 1886,0401.45 \n",
"2 Greek and Roman NaN 1886,0401.1215 \n",
"7 Greek and Roman NaN 1894,1101.213 \n",
"8 Middle East 132114 1857,1220.1 \n",
"... ... ... ... \n",
"9301 Greek and Roman NaN 1886,0401.1218 \n",
"9302 Greek and Roman NaN 1886,0401.1429 \n",
"9304 Greek and Roman NaN 1924,1201.41 \n",
"9310 Greek and Roman NaN 1924,1201.40 \n",
"9317 Greek and Roman NaN 1886,0401.67 \n",
"\n",
" Add ids Cat no \\\n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 Miscellaneous number: 1886,0401.44 NaN \n",
"7 Miscellaneous number: DBH.0056 (Harden number) NaN \n",
"8 Miscellaneous number: 416 (paper label attache... NaN \n",
"... ... ... \n",
"9301 NaN NaN \n",
"9302 NaN NaN \n",
"9304 NaN NaN \n",
"9310 NaN NaN \n",
"9317 NaN NaN \n",
"\n",
" Banknote serial number Joined objects \n",
"0 NaN NaN \n",
"1 NaN NaN \n",
"2 NaN NaN \n",
"7 NaN NaN \n",
"8 NaN NaN \n",
"... ... ... \n",
"9301 NaN NaN \n",
"9302 NaN NaN \n",
"9304 NaN NaN \n",
"9310 NaN NaN \n",
"9317 NaN NaN \n",
"\n",
"[19570 rows x 47 columns]"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"region_df"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "ArtifactClassification",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
|