{ "cells": [ { "cell_type": "code", "execution_count": 4, "id": "056aa255-fda1-4cde-be24-459f6ad2c8b9", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/usr/local/anaconda3/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3165: DtypeWarning: Columns (4) have mixed types.Specify dtype option on import or set low_memory=False.\n", " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n" ] } ], "source": [ "import pandas as pd\n", "from bs4 import BeautifulSoup\n", "\n", "df = pd.read_csv('./bq-results-20211206-133858-irtkgx60el7i.csv').drop(['ParentUrl', 'ParentAuthor', 'ParentTime', 'ParentScore'], axis=1)\n", "df.text = df.text.str.replace('

', '\\n')\n", "strings_to_remove = ['rel=\"nofollow\"', '

', '
', '', '', '', '', '>']\n", "email_regex = '[a-zA-Z0-9._-]{0,30}@[a-zA-Z0-9._-]{0,20}\\.[a-zA-Z0-9_-]{2,3}'\n", "munged_url_regex = 'http(s)?:\\&\\#.*?\\<\\/a>'\n", "\n", "for string in strings_to_remove:\n", " df.text = df.text.str.replace(string, '')\n", "\n", "\n", "df.text = df.text.replace(email_regex, 'REDACTED_EMAIL', regex=True)\n", "df.text = df.text.replace(munged_url_regex, '', regex=True)\n", "\n", " # fix some unicode issues\n", "df.text = df.text.str.replace(''', \"'\")\n", "df.text = df.text.str.replace('/', \"/\")\n", "df.text = df.text.str.replace(\""\", '\"')\n", "\n", "hiring_df = df[df.ParentTitle.str.lower().str.contains('who is hiring')]\n", "wants_to_be_hired_df = df[df.ParentTitle.str.lower().str.contains('wants to be hired')]\n", "freelancer_df = df[df.ParentTitle.str.lower().str.contains('freelancer')]\n" ] }, { "cell_type": "code", "execution_count": 24, "id": "1ee19b74-2085-40d8-b9d2-51b526f4d438", "metadata": {}, "outputs": [], "source": [ "import datasets\n", "from huggingface_hub import create_repo\n", "from huggingface_hub import Repository" ] }, { "cell_type": "code", "execution_count": 43, "id": "57ca7c96-d94c-4e65-8113-da7729558247", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/Users/dan.becker/Desktop/hackernews_hiring_dataset is already a clone of https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts. Make sure you pull the latest changes with `repo.git_pull()`.\n" ] }, { "ename": "OSError", "evalue": "fatal: pathspec 'hackernews_hiring_dataset/data/*' did not match any files\n", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mCalledProcessError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m/usr/local/anaconda3/lib/python3.8/site-packages/huggingface_hub/repository.py\u001b[0m in \u001b[0;36mgit_add\u001b[0;34m(self, pattern, auto_lfs_track)\u001b[0m\n\u001b[1;32m 908\u001b[0m \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 909\u001b[0;31m result = subprocess.run(\n\u001b[0m\u001b[1;32m 910\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m\"git\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"add\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"-v\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mpattern\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m/usr/local/anaconda3/lib/python3.8/subprocess.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(input, capture_output, timeout, check, *popenargs, **kwargs)\u001b[0m\n\u001b[1;32m 515\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mcheck\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mretcode\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 516\u001b[0;31m raise CalledProcessError(retcode, process.args,\n\u001b[0m\u001b[1;32m 517\u001b[0m output=stdout, stderr=stderr)\n", "\u001b[0;31mCalledProcessError\u001b[0m: Command '['git', 'add', '-v', 'hackernews_hiring_dataset/data/*']' returned non-zero exit status 128.", "\nDuring handling of the above exception, another exception occurred:\n", "\u001b[0;31mOSError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 7\u001b[0m \u001b[0mrepo_url\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m'https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts'\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 8\u001b[0m \u001b[0mrepo\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mRepository\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlocal_dir\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m\"hackernews_hiring_dataset\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mclone_from\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mrepo_url\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 9\u001b[0;31m \u001b[0mrepo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgit_add\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata_path\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0;34m'/*'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 10\u001b[0m \u001b[0mrepo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgit_commit\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Push data from notebook\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m/usr/local/anaconda3/lib/python3.8/site-packages/huggingface_hub/repository.py\u001b[0m in \u001b[0;36mgit_add\u001b[0;34m(self, pattern, auto_lfs_track)\u001b[0m\n\u001b[1;32m 917\u001b[0m \u001b[0mlogger\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0minfo\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34mf\"Adding to index:\\n{result.stdout}\\n\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 918\u001b[0m \u001b[0;32mexcept\u001b[0m \u001b[0msubprocess\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mCalledProcessError\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mexc\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 919\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mEnvironmentError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mexc\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mstderr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 920\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 921\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mgit_commit\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcommit_message\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mstr\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m\"commit files to HF hub\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mOSError\u001b[0m: fatal: pathspec 'hackernews_hiring_dataset/data/*' did not match any files\n" ] } ], "source": [ "all_datasets = datasets.dataset_dict.DatasetDict({'hiring': datasets.Dataset.from_pandas(hiring_df),\n", " 'wants_to_be_hired': datasets.Dataset.from_pandas(wants_to_be_hired_df),\n", " 'freelancer': datasets.Dataset.from_pandas(freelancer_df)})\n", "data_path = './data'\n", "all_datasets.save_to_disk(data_path)\n", "\n", "repo_url = 'https://huggingface.co/datasets/dansbecker/hackernews_hiring_posts'\n", "repo = Repository(local_dir=\".\", clone_from=repo_url)\n", "repo.git_pull()\n", "repo.git_add(data_path)\n", "repo.git_commit(\"Push data from notebook\")" ] }, { "cell_type": "code", "execution_count": 36, "id": "2e7fbc2c-550e-4266-b7f2-63287953fdc7", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "\u001b[0;31mSignature:\u001b[0m \u001b[0mrepo\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mgit_commit\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcommit_message\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mstr\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m'commit files to HF hub'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mDocstring:\u001b[0m git commit\n", "\u001b[0;31mFile:\u001b[0m /usr/local/anaconda3/lib/python3.8/site-packages/huggingface_hub/repository.py\n", "\u001b[0;31mType:\u001b[0m method\n" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "repo.git_commit?" ] }, { "cell_type": "code", "execution_count": 23, "id": "1421d124-a4ae-401e-9753-27a82e9f35d4", "metadata": {}, "outputs": [ { "ename": "TypeError", "evalue": "Expected a pyarrow.Table or a datasets.table.Table object, but got {'hiring': text \\\n0 Kindling -- New York City\\nLead Application De... \n1 Angular UI Developers: Help Improve the State ... \n2 Cir.cl is a funded startup founded by former O... \n3 Backplane - Palo Alto, CA\\n== About Us ==\\nWe ... \n5 We are building supercomputers and bespoke sof... \n... ... \n111574 LOCATION: Mountain View, CA |Full-time |ONSITE... \n111575 Eaze | Senior Software Engineer | San Francisc... \n111576 Auckland, New Zealand | REMOTE | VISA\\n---\\n# ... \n111577 Elementum | Mountain View | Onsite\\nI am the H... \n111578 SeatGeek — New York, NY — Full Time — We're a ... \n\n CommentTime CommentAuthor \\\n0 2014-08-01 16:15:39 UTC toestues \n1 2014-08-01 16:15:52 UTC AngularJobs \n2 2014-05-01 20:50:30 UTC cld276 \n3 2014-05-01 20:50:39 UTC chengyinliu \n5 2013-04-01 19:24:46 UTC kaib \n... ... ... \n111574 2017-07-03 23:46:02 UTC katrinadurant \n111575 2017-07-03 21:05:44 UTC spade \n111576 2017-07-03 21:05:39 UTC neftaly \n111577 2017-07-04 03:16:13 UTC sv13 \n111578 2017-07-04 13:05:00 UTC jack7890 \n\n ParentTitle \n0 Ask HN: Who is hiring? (August 2014) \n1 Ask HN: Who is hiring? (August 2014) \n2 Ask HN: Who is hiring? (May 2014) \n3 Ask HN: Who is hiring? (May 2014) \n5 Ask HN: Who is hiring? (April 2013) \n... ... \n111574 Ask HN: Who is hiring? (July 2017) \n111575 Ask HN: Who is hiring? (July 2017) \n111576 Ask HN: Who is hiring? (July 2017) \n111577 Ask HN: Who is hiring? (July 2017) \n111578 Ask HN: Who is hiring? (July 2017) \n\n[75974 rows x 4 columns], 'wants_to_be_hired': text \\\n7 Location: FL\\n Remote:Yes, Part time preferred... \n8 Willing to relocate: No\\nLocation: London, UK\\... \n10 Location: Ukraine\\nRemote: Yes\\nWilling to rel... \n11 Location: London\\nRemote: No\\nWilling to reloc... \n23 Location: India\\nRemote: Yes\\nTechnologies: Py... \n... ... \n111535 Location: Montreal, Quebec (Canada)\\nRemote: N... \n111542 Location: Seattle, WA\\nRemote: yes/exclusively... \n111543 Location: India\\nRemote: Yes\\nWilling to reloc... \n111562 Hi, I am Sagar Ghai, a recent Computer Science... \n111568 Location: Baltimore, Delaware\\nRemote: Preferr... \n\n CommentTime CommentAuthor \\\n7 2019-12-03 14:53:37 UTC kanagac \n8 2021-09-01 16:29:21 UTC electronstudio \n10 2014-11-01 21:46:49 UTC andrey_utkin \n11 2014-09-02 21:26:34 UTC mikemases \n23 2021-06-02 02:40:37 UTC kgritesh \n... ... ... \n111535 2017-07-05 18:12:05 UTC ajgaba \n111542 2017-07-03 16:33:10 UTC fuzzy-logic \n111543 2017-07-04 16:17:41 UTC kshk123 \n111562 2017-07-04 08:34:09 UTC sagarghai \n111568 2017-07-05 21:33:02 UTC wernercd \n\n ParentTitle \n7 Ask HN: Who wants to be hired? (December 2019) \n8 Ask HN: Who wants to be hired? (September 2021) \n10 Ask HN: Who wants to be hired? (November 2014) \n11 Ask HN: Who wants to be hired? (September 2014) \n23 Ask HN: Who wants to be hired? (June 2021) \n... ... \n111535 Ask HN: Who wants to be hired? (July 2017) \n111542 Ask HN: Who wants to be hired? (July 2017) \n111543 Ask HN: Who wants to be hired? (July 2017) \n111562 Ask HN: Who wants to be hired? (July 2017) \n111568 Ask HN: Who wants to be hired? (July 2017) \n\n[20262 rows x 4 columns], 'freelancer': text \\\n4 SEEKING WORK\\nLocation: Victoria, B.C.\\nRemote... \n6 SEEKING WORK, Nottingham UK, Remote\\nLAMP (Per... \n12 SEEKING WORK | GMT+8 (Perth, Australia) | Remo... \n15 SEEKING WORK | REMOTE SR Software Architect / ... \n16 SEEKING WORK\\nZoë Davidson // Front End Engine... \n... ... \n111518 SEEKING WORK - Toronto + REMOTE (GMT-5).\\nFull... \n111523 SEEKING WORK - Remote, Berlin\\nContent Marketi... \n111538 SEEKING WORK - Northern Utah (SLC to Provo) or... \n111547 SEEKING WORK - US, Remote\\n- Available mid-Aug... \n111572 SEEKING WORK - Remote - Brisbane, Australia\\nB... \n\n CommentTime CommentAuthor \\\n4 2015-04-01 16:39:38 UTC spitfire \n6 2012-02-01 14:05:14 UTC mike-cardwell \n12 2021-11-01 15:09:57 UTC bengtan \n15 2021-11-01 15:40:58 UTC jhoelzel \n16 2021-11-01 15:41:14 UTC zdavidson4 \n... ... ... \n111518 2017-07-03 16:03:57 UTC d10p \n111523 2017-07-04 07:37:22 UTC rwieruch \n111538 2017-07-08 06:42:31 UTC VaedaStrike \n111547 2017-07-14 19:17:40 UTC jeffmk \n111572 2017-07-04 04:11:32 UTC pirhoteknik \n\n ParentTitle \n4 Ask HN: Freelancer? Seeking freelancer? (April... \n6 Ask HN: Freelancer? Seeking freelancer? (Febr... \n12 Ask HN: Freelancer? Seeking freelancer? (Novem... \n15 Ask HN: Freelancer? Seeking freelancer? (Novem... \n16 Ask HN: Freelancer? Seeking freelancer? (Novem... \n... ... \n111518 Ask HN: Freelancer? Seeking freelancer? (July ... \n111523 Ask HN: Freelancer? Seeking freelancer? (July ... \n111538 Ask HN: Freelancer? Seeking freelancer? (July ... \n111547 Ask HN: Freelancer? Seeking freelancer? (July ... \n111572 Ask HN: Freelancer? Seeking freelancer? (July ... \n\n[15266 rows x 4 columns]}.", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)", "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m datasets.Dataset({'hiring': hiring_df,\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0;34m'wants_to_be_hired'\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mwants_to_be_hired_df\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 3\u001b[0m 'freelancer': freelancer_df})\n", "\u001b[0;32m/usr/local/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py\u001b[0m in \u001b[0;36m__init__\u001b[0;34m(self, arrow_table, info, split, indices_table, fingerprint)\u001b[0m\n\u001b[1;32m 580\u001b[0m \u001b[0mIndexableMixin\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m__init__\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 581\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 582\u001b[0;31m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_data\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mTable\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0m_check_table\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0marrow_table\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 583\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_indices\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mOptional\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mTable\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0m_check_table\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mindices_table\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mindices_table\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mnot\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32melse\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 584\u001b[0m \u001b[0mmaybe_register_dataset_for_temp_dir_deletion\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;32m/usr/local/anaconda3/lib/python3.8/site-packages/datasets/arrow_dataset.py\u001b[0m in \u001b[0;36m_check_table\u001b[0;34m(table)\u001b[0m\n\u001b[1;32m 556\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mtable\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 557\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 558\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mTypeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34mf\"Expected a pyarrow.Table or a datasets.table.Table object, but got {table}.\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 559\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 560\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mTypeError\u001b[0m: Expected a pyarrow.Table or a datasets.table.Table object, but got {'hiring': text \\\n0 Kindling -- New York City\\nLead Application De... \n1 Angular UI Developers: Help Improve the State ... \n2 Cir.cl is a funded startup founded by former O... \n3 Backplane - Palo Alto, CA\\n== About Us ==\\nWe ... \n5 We are building supercomputers and bespoke sof... \n... ... \n111574 LOCATION: Mountain View, CA |Full-time |ONSITE... \n111575 Eaze | Senior Software Engineer | San Francisc... \n111576 Auckland, New Zealand | REMOTE | VISA\\n---\\n# ... \n111577 Elementum | Mountain View | Onsite\\nI am the H... \n111578 SeatGeek — New York, NY — Full Time — We're a ... \n\n CommentTime CommentAuthor \\\n0 2014-08-01 16:15:39 UTC toestues \n1 2014-08-01 16:15:52 UTC AngularJobs \n2 2014-05-01 20:50:30 UTC cld276 \n3 2014-05-01 20:50:39 UTC chengyinliu \n5 2013-04-01 19:24:46 UTC kaib \n... ... ... \n111574 2017-07-03 23:46:02 UTC katrinadurant \n111575 2017-07-03 21:05:44 UTC spade \n111576 2017-07-03 21:05:39 UTC neftaly \n111577 2017-07-04 03:16:13 UTC sv13 \n111578 2017-07-04 13:05:00 UTC jack7890 \n\n ParentTitle \n0 Ask HN: Who is hiring? (August 2014) \n1 Ask HN: Who is hiring? (August 2014) \n2 Ask HN: Who is hiring? (May 2014) \n3 Ask HN: Who is hiring? (May 2014) \n5 Ask HN: Who is hiring? (April 2013) \n... ... \n111574 Ask HN: Who is hiring? (July 2017) \n111575 Ask HN: Who is hiring? (July 2017) \n111576 Ask HN: Who is hiring? (July 2017) \n111577 Ask HN: Who is hiring? (July 2017) \n111578 Ask HN: Who is hiring? (July 2017) \n\n[75974 rows x 4 columns], 'wants_to_be_hired': text \\\n7 Location: FL\\n Remote:Yes, Part time preferred... \n8 Willing to relocate: No\\nLocation: London, UK\\... \n10 Location: Ukraine\\nRemote: Yes\\nWilling to rel... \n11 Location: London\\nRemote: No\\nWilling to reloc... \n23 Location: India\\nRemote: Yes\\nTechnologies: Py... \n... ... \n111535 Location: Montreal, Quebec (Canada)\\nRemote: N... \n111542 Location: Seattle, WA\\nRemote: yes/exclusively... \n111543 Location: India\\nRemote: Yes\\nWilling to reloc... \n111562 Hi, I am Sagar Ghai, a recent Computer Science... \n111568 Location: Baltimore, Delaware\\nRemote: Preferr... \n\n CommentTime CommentAuthor \\\n7 2019-12-03 14:53:37 UTC kanagac \n8 2021-09-01 16:29:21 UTC electronstudio \n10 2014-11-01 21:46:49 UTC andrey_utkin \n11 2014-09-02 21:26:34 UTC mikemases \n23 2021-06-02 02:40:37 UTC kgritesh \n... ... ... \n111535 2017-07-05 18:12:05 UTC ajgaba \n111542 2017-07-03 16:33:10 UTC fuzzy-logic \n111543 2017-07-04 16:17:41 UTC kshk123 \n111562 2017-07-04 08:34:09 UTC sagarghai \n111568 2017-07-05 21:33:02 UTC wernercd \n\n ParentTitle \n7 Ask HN: Who wants to be hired? (December 2019) \n8 Ask HN: Who wants to be hired? (September 2021) \n10 Ask HN: Who wants to be hired? (November 2014) \n11 Ask HN: Who wants to be hired? (September 2014) \n23 Ask HN: Who wants to be hired? (June 2021) \n... ... \n111535 Ask HN: Who wants to be hired? (July 2017) \n111542 Ask HN: Who wants to be hired? (July 2017) \n111543 Ask HN: Who wants to be hired? (July 2017) \n111562 Ask HN: Who wants to be hired? (July 2017) \n111568 Ask HN: Who wants to be hired? (July 2017) \n\n[20262 rows x 4 columns], 'freelancer': text \\\n4 SEEKING WORK\\nLocation: Victoria, B.C.\\nRemote... \n6 SEEKING WORK, Nottingham UK, Remote\\nLAMP (Per... \n12 SEEKING WORK | GMT+8 (Perth, Australia) | Remo... \n15 SEEKING WORK | REMOTE SR Software Architect / ... \n16 SEEKING WORK\\nZoë Davidson // Front End Engine... \n... ... \n111518 SEEKING WORK - Toronto + REMOTE (GMT-5).\\nFull... \n111523 SEEKING WORK - Remote, Berlin\\nContent Marketi... \n111538 SEEKING WORK - Northern Utah (SLC to Provo) or... \n111547 SEEKING WORK - US, Remote\\n- Available mid-Aug... \n111572 SEEKING WORK - Remote - Brisbane, Australia\\nB... \n\n CommentTime CommentAuthor \\\n4 2015-04-01 16:39:38 UTC spitfire \n6 2012-02-01 14:05:14 UTC mike-cardwell \n12 2021-11-01 15:09:57 UTC bengtan \n15 2021-11-01 15:40:58 UTC jhoelzel \n16 2021-11-01 15:41:14 UTC zdavidson4 \n... ... ... \n111518 2017-07-03 16:03:57 UTC d10p \n111523 2017-07-04 07:37:22 UTC rwieruch \n111538 2017-07-08 06:42:31 UTC VaedaStrike \n111547 2017-07-14 19:17:40 UTC jeffmk \n111572 2017-07-04 04:11:32 UTC pirhoteknik \n\n ParentTitle \n4 Ask HN: Freelancer? Seeking freelancer? (April... \n6 Ask HN: Freelancer? Seeking freelancer? (Febr... \n12 Ask HN: Freelancer? Seeking freelancer? (Novem... \n15 Ask HN: Freelancer? Seeking freelancer? (Novem... \n16 Ask HN: Freelancer? Seeking freelancer? (Novem... \n... ... \n111518 Ask HN: Freelancer? Seeking freelancer? (July ... \n111523 Ask HN: Freelancer? Seeking freelancer? (July ... \n111538 Ask HN: Freelancer? Seeking freelancer? (July ... \n111547 Ask HN: Freelancer? Seeking freelancer? (July ... \n111572 Ask HN: Freelancer? Seeking freelancer? (July ... \n\n[15266 rows x 4 columns]}." ] } ], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "eea7788b-8919-4fb9-bec4-9a349ee34728", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "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.8.8" } }, "nbformat": 4, "nbformat_minor": 5 }