diff --git a/starter_code/.ipynb_checkpoints/queries-checkpoint.ipynb b/starter_code/.ipynb_checkpoints/queries-checkpoint.ipynb new file mode 100644 index 0000000..6eee69f --- /dev/null +++ b/starter_code/.ipynb_checkpoints/queries-checkpoint.ipynb @@ -0,0 +1,330 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "![Ironhack Logo](https://i.imgur.com/1QgrNNw.png)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "from pymongo import MongoClient\n", + "client=MongoClient()\n", + "db=client.companies" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Answers\n", + "### 1. All the companies that it's name match 'Babelgum'. Retrieve only their `name` field." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 2. All the companies that have more than 5000 employees. Limit the search to 20 companies and sort them by **number of employees**." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 3. All the companies founded between 2000 and 2005, both years included. Retrieve only the `name` and `founded_year` fileds." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 4. All the companies that had a Valuation Amount of more than 100.000.000 and have been founded before 2010. Retrieve only the `name` and `ipo` fields." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + " " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 5. All the companies that have less than 1000 employees and have been founded before 2005. Order them by the number of employees and limit the search to 10 companies." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 6. All the companies that don't include the `partners` field." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 7. All the companies that have a null type of value on the `category_code` field." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 8. All the companies that have at least 100 employees but less than 1000. Retrieve only the `name` and `number of employees` fields." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 9. Order all the companies by their IPO price descendently." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + " " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 10. Retrieve the 10 companies with more employees, order by the `number of employees`" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 11. All the companies founded on the second semester of the year. Limit your search to 1000 companies." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 12. All the companies that have been 'deadpooled' after the third year." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 13. All the companies founded before 2000 that have and acquisition amount of more than 10.000.000" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 14. All the companies that have been acquired after 2015, order by the acquisition amount, and retrieve only their `name` and `acquisiton` field." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + " " + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 15. Order the companies by their `founded year`, retrieving only their `name` and `founded year`." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 16. All the companies that have been founded on the first seven days of the month, including the seventh. Sort them by their `aquisition price` descendently. Limit the search to 10 documents." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 17. All the companies on the 'web' `category` that have more than 4000 employees. Sort them by the amount of employees in ascendant order." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 18. All the companies which their acquisition amount is more than 10.000.000, and currency are 'EUR'.\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 19. All the companies that have been acquired on the first trimester of the year. Limit the search to 10 companies, and retrieve only their `name` and `acquisition` fields." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### 20. All the companies that have been founded between 2000 and 2010, but have not been acquired before 2011." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "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.7.4" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/starter_code/queries.ipynb b/starter_code/queries.ipynb index 6eee69f..0896de1 100644 --- a/starter_code/queries.ipynb +++ b/starter_code/queries.ipynb @@ -9,13 +9,53 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 82, "metadata": {}, "outputs": [], "source": [ + "\n", + "from sqlalchemy import create_engine \n", + "import pymysql\n", + "import os\n", + "import pandas as pd\n", + "\n", + "\n", "from pymongo import MongoClient\n", - "client=MongoClient()\n", - "db=client.companies" + "client=MongoClient(\"mongodb+srv://Ever77x:Nico2014*@cluster0.nh47y.mongodb.net/myFirstDatabase?retryWrites=true&w=majority\")\n", + "db=client.db_companies\n", + "collection_companies = db.companies\n" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "['Probando',\n", + " 'db_companies',\n", + " 'sakila',\n", + " 'sample_airbnb',\n", + " 'sample_analytics',\n", + " 'sample_geospatial',\n", + " 'sample_mflix',\n", + " 'sample_restaurants',\n", + " 'sample_supplies',\n", + " 'sample_training',\n", + " 'sample_weatherdata',\n", + " 'admin',\n", + " 'local']" + ] + }, + "execution_count": 22, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "client.list_database_names()" ] }, { @@ -28,10 +68,56 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 47, "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
name
0Babelgum
\n", + "
" + ], + "text/plain": [ + " name\n", + "0 Babelgum" + ] + }, + "execution_count": 47, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "answer1 = pd.DataFrame(collection_companies.find({\"name\": \"Babelgum\"}, {\"name\": 1, \"_id\": 0}))\n", + "answer1" + ] }, { "cell_type": "markdown", @@ -42,10 +128,915 @@ }, { "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] + "execution_count": 41, + "metadata": { + "collapsed": true, + "jupyter": { + "outputs_hidden": true + }, + "tags": [] + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
_idnamepermalinkcrunchbase_urlhomepage_urlblog_urlblog_feed_urltwitter_usernamecategory_codenumber_of_employees...investmentsacquisitionacquisitionsofficesmilestonesipovideo_embedsscreenshotsexternal_linkspartners
052cdef7d4bab8bd67529941aSiemenssiemenshttp://www.crunchbase.com/company/siemenshttp://www.siemens.comSiemenshardware405000...[]None[{'price_amount': 418000000, 'price_currency_c...[{'description': '', 'address1': 'Wittelsbache...[{'id': 35852, 'description': 'Siemens Receive...{'valuation_amount': None, 'valuation_currency...[{'embed_code': '<iframe width=\"420\" height=\"3...[{'available_sizes': [[[150, 92], 'assets/imag...[][]
152cdef7c4bab8bd67529856aIBMibmhttp://www.crunchbase.com/company/ibmhttp://www.ibm.comIBMsoftware388000...[{'funding_round': {'round_code': 'c', 'source...None[{'price_amount': None, 'price_currency_code':...[{'description': 'Corporate Headquarters', 'ad...[{'id': 10471, 'description': 'IBM Completes A...{'valuation_amount': None, 'valuation_currency...[{'embed_code': '<embed src=\"http://blip.tv/pl...[{'available_sizes': [[[150, 93], 'assets/imag...[{'external_url': 'http://mashpedia.com/IBM', ...[]
252cdef7d4bab8bd675299d33Toyotatoyotahttp://www.crunchbase.com/company/toyotahttp://www.toyota-global.comToyotaenterprise320000...[{'funding_round': {'round_code': 'a', 'source...None[][{'description': 'HQ', 'address1': 'Toyota Mot...[]None[{'embed_code': '<iframe width=\"430\" height=\"3...[{'available_sizes': [[[150, 84], 'assets/imag...[][]
352cdef7c4bab8bd675297e89PayPalpaypalhttp://www.crunchbase.com/company/paypalhttp://www.paypal.compaypalfinance300000...[{'funding_round': {'round_code': 'c', 'source...{'price_amount': 1500000000, 'price_currency_c...[{'price_amount': None, 'price_currency_code':...[{'description': '', 'address1': '2145 E Hamil...[{'id': 11916, 'description': 'Reserve Bank Of...None[][{'available_sizes': [[[150, 120], 'assets/ima...[{'external_url': 'http://www.sociableblog.com...[]
452cdef7e4bab8bd67529b0feNippon Telegraph and Telephone Corporationnippon-telegraph-and-telephone-corporationhttp://www.crunchbase.com/company/nippon-teleg...http://www.ntt.co.jp/index_e.htmlNone227000...[{'funding_round': {'round_code': 'e', 'source...None[][{'description': 'NTT', 'address1': '3-1, Otem...[]None[][{'available_sizes': [[[150, 42], 'assets/imag...[][]
552cdef7d4bab8bd675298aa4Samsung Electronicssamsung-electronicshttp://www.crunchbase.com/company/samsung-elec...http://www.samsung.com/ushttp://www.samsungvillage.com/samsungtweetshardware221726...[{'funding_round': {'round_code': 'b', 'source...None[{'price_amount': None, 'price_currency_code':...[{'description': 'HQ - South Korea', 'address1...[{'id': 11908, 'description': 'Samsung Ships 3...None[{'embed_code': '<iframe src=\"http://blip.tv/p...[{'available_sizes': [[[94, 150], 'assets/imag...[{'external_url': 'http://mashpedia.com/Samsun...[]
652cdef7d4bab8bd675298b99Accentureaccenturehttp://www.crunchbase.com/company/accenturehttp://www.accenture.comhttp://www.accenture.com/Global/Accenture_Blogs/http://feeds.accenture.com/Accenture_High_Perf...accentureconsulting205000...[{'funding_round': {'round_code': 'unattribute...None[{'price_amount': None, 'price_currency_code':...[{'description': '', 'address1': '1615 Murray ...[{'id': 1824, 'description': 'Nokia and Accent...{'valuation_amount': None, 'valuation_currency...[][{'available_sizes': [[[150, 136], 'assets/ima...[{'external_url': 'http://www.accenture.com/Gl...[]
752cdef7e4bab8bd67529a657Tata Consultancy Servicestata-consultancy-serviceshttp://www.crunchbase.com/company/tata-consult...http://www.tcs.comhttp://www.tcs.com/rss_feeds/Pages/feed.aspx?f=pTCS_Newsconsulting200300...[]None[][{'description': 'World Headquarters', 'addres...[]None[][][][]
852cdef7e4bab8bd67529aa51Flextronics Internationalflextronics-internationalhttp://www.crunchbase.com/company/flextronics-...http://www.flextronics.comhttp://www.flextronicsblog.com/flextronicsNone200000...[{'funding_round': {'round_code': 'unattribute...None[{'price_amount': None, 'price_currency_code':...[{'description': 'US HQ', 'address1': '6201 Am...[]None[][{'available_sizes': [[[150, 107], 'assets/ima...[][]
952cdef7d4bab8bd675299156Safewaysafewayhttp://www.crunchbase.com/company/safewayhttp://www.safeway.comother186000...[]None[][{'description': 'HQ', 'address1': '5918 Stone...[]None[][{'available_sizes': [[[150, 123], 'assets/ima...[][]
1052cdef7c4bab8bd675297e6fSonysonyhttp://www.crunchbase.com/company/sonyhttp://www.sony.comhttp://blog.sony.com/http://blog.sony.com/Sonyhardware180500...[]None[{'price_amount': 260000000, 'price_currency_c...[{'description': 'HQ', 'address1': '16530 Via ...[{'id': 18773, 'description': 'Sony Will Buy O...{'valuation_amount': None, 'valuation_currency...[][{'available_sizes': [[[150, 107], 'assets/ima...[{'external_url': 'http://www.entechgadget.com...[]
1152cdef7c4bab8bd675298517LGlghttp://www.crunchbase.com/company/lghttp://www.lg.comhttp://lgusblog.com/LGUShardware177000...[{'funding_round': {'round_code': 'unattribute...None[][{'description': 'Headquarters', 'address1': '...[]None[{'embed_code': '<iframe src=\"http://blip.tv/p...[][][]
1252cdef7d4bab8bd675299d31Fordfordhttp://www.crunchbase.com/company/fordhttp://www.ford.comFordServiceautomotive171000...[]None[{'price_amount': 9000000, 'price_currency_cod...[{'description': '', 'address1': 'One American...[]{'valuation_amount': None, 'valuation_currency...[][][][]
1352cdef7d4bab8bd675298b28Boeingboeinghttp://www.crunchbase.com/company/boeinghttp://www.boeing.comboeingairplanesother160000...[]None[{'price_amount': None, 'price_currency_code':...[{'description': 'Corporate Headquarters', 'ad...[{'id': 44355, 'description': '\r\n", + "Boeing To Rep...None[][{'available_sizes': [[[150, 94], 'assets/imag...[{'external_url': 'http://jobs-boeing.com/', '...[]
1452cdef7e4bab8bd67529bb5cDigital Equipment Corporationdigital-equipment-corporationhttp://www.crunchbase.com/company/digital-equi...None140000...[]None[][{'description': 'HQ', 'address1': '', 'addres...[{'id': 12279, 'description': 'Ken Olsen, co-f...None[][][][]
1552cdef7c4bab8bd675297fc2Nokianokiahttp://www.crunchbase.com/company/nokiahttp://nokia.comnokiamobile125000...[{'funding_round': {'round_code': 'b', 'source...None[{'price_amount': 96800000, 'price_currency_co...[{'description': 'headquarter', 'address1': 'K...[{'id': 9161, 'description': 'Nokia, AT&T Putt...{'valuation_amount': None, 'valuation_currency...[{'embed_code': '<embed src=\"http://blip.tv/pl...[{'available_sizes': [[[150, 131], 'assets/ima...[{'external_url': 'http://en.wikipedia.org/wik...[]
1652cdef7d4bab8bd675299839MItsubishi Electricmitsubishi-electrichttp://www.crunchbase.com/company/mitsubishi-e...http://global.mitsubishielectric.comhardware107000...[]None[][{'description': 'HQ', 'address1': 'Tokyo Buil...[]None[][{'available_sizes': [[[150, 145], 'assets/ima...[][]
1752cdef7d4bab8bd675299bc3MItsubishi Electricmitsubishi-electrichttp://www.crunchbase.com/company/mitsubishi-e...http://global.mitsubishielectric.comhardware107000...[]None[][{'description': 'HQ', 'address1': 'Tokyo Buil...[]None[][{'available_sizes': [[[150, 145], 'assets/ima...[][]
1852cdef7c4bab8bd6752987adComcastcomcasthttp://www.crunchbase.com/company/comcasthttp://comcast.comXFINITYDealsgames_video100000...[{'funding_round': {'round_code': 'a', 'source...None[{'price_amount': 150000000, 'price_currency_c...[{'description': 'One Comcast Center', 'addres...[{'id': 24946, 'description': 'Comcast buys Mi...{'valuation_amount': None, 'valuation_currency...[{'embed_code': '<embed src=\"http://blip.tv/pl...[{'available_sizes': [[[150, 94], 'assets/imag...[][]
1952cdef7d4bab8bd675298d67Bertelsmannbertelsmannhttp://www.crunchbase.com/company/bertelsmannhttp://www.bertelsmann.comNoneother100000...[{'funding_round': {'round_code': 'b', 'source...None[{'price_amount': None, 'price_currency_code':...[{'description': 'Corporate Headquarters', 'ad...[{'id': 20443, 'description': 'A Step Forward?...None[][][][]
\n", + "

20 rows × 42 columns

\n", + "
" + ], + "text/plain": [ + " _id name \\\n", + "0 52cdef7d4bab8bd67529941a Siemens \n", + "1 52cdef7c4bab8bd67529856a IBM \n", + "2 52cdef7d4bab8bd675299d33 Toyota \n", + "3 52cdef7c4bab8bd675297e89 PayPal \n", + "4 52cdef7e4bab8bd67529b0fe Nippon Telegraph and Telephone Corporation \n", + "5 52cdef7d4bab8bd675298aa4 Samsung Electronics \n", + "6 52cdef7d4bab8bd675298b99 Accenture \n", + "7 52cdef7e4bab8bd67529a657 Tata Consultancy Services \n", + "8 52cdef7e4bab8bd67529aa51 Flextronics International \n", + "9 52cdef7d4bab8bd675299156 Safeway \n", + "10 52cdef7c4bab8bd675297e6f Sony \n", + "11 52cdef7c4bab8bd675298517 LG \n", + "12 52cdef7d4bab8bd675299d31 Ford \n", + "13 52cdef7d4bab8bd675298b28 Boeing \n", + "14 52cdef7e4bab8bd67529bb5c Digital Equipment Corporation \n", + "15 52cdef7c4bab8bd675297fc2 Nokia \n", + "16 52cdef7d4bab8bd675299839 MItsubishi Electric \n", + "17 52cdef7d4bab8bd675299bc3 MItsubishi Electric \n", + "18 52cdef7c4bab8bd6752987ad Comcast \n", + "19 52cdef7d4bab8bd675298d67 Bertelsmann \n", + "\n", + " permalink \\\n", + "0 siemens \n", + "1 ibm \n", + "2 toyota \n", + "3 paypal \n", + "4 nippon-telegraph-and-telephone-corporation \n", + "5 samsung-electronics \n", + "6 accenture \n", + "7 tata-consultancy-services \n", + "8 flextronics-international \n", + "9 safeway \n", + "10 sony \n", + "11 lg \n", + "12 ford \n", + "13 boeing \n", + "14 digital-equipment-corporation \n", + "15 nokia \n", + "16 mitsubishi-electric \n", + "17 mitsubishi-electric \n", + "18 comcast \n", + "19 bertelsmann \n", + "\n", + " crunchbase_url \\\n", + "0 http://www.crunchbase.com/company/siemens \n", + "1 http://www.crunchbase.com/company/ibm \n", + "2 http://www.crunchbase.com/company/toyota \n", + "3 http://www.crunchbase.com/company/paypal \n", + "4 http://www.crunchbase.com/company/nippon-teleg... \n", + "5 http://www.crunchbase.com/company/samsung-elec... \n", + "6 http://www.crunchbase.com/company/accenture \n", + "7 http://www.crunchbase.com/company/tata-consult... \n", + "8 http://www.crunchbase.com/company/flextronics-... \n", + "9 http://www.crunchbase.com/company/safeway \n", + "10 http://www.crunchbase.com/company/sony \n", + "11 http://www.crunchbase.com/company/lg \n", + "12 http://www.crunchbase.com/company/ford \n", + "13 http://www.crunchbase.com/company/boeing \n", + "14 http://www.crunchbase.com/company/digital-equi... \n", + "15 http://www.crunchbase.com/company/nokia \n", + "16 http://www.crunchbase.com/company/mitsubishi-e... \n", + "17 http://www.crunchbase.com/company/mitsubishi-e... \n", + "18 http://www.crunchbase.com/company/comcast \n", + "19 http://www.crunchbase.com/company/bertelsmann \n", + "\n", + " homepage_url \\\n", + "0 http://www.siemens.com \n", + "1 http://www.ibm.com \n", + "2 http://www.toyota-global.com \n", + "3 http://www.paypal.com \n", + "4 http://www.ntt.co.jp/index_e.html \n", + "5 http://www.samsung.com/us \n", + "6 http://www.accenture.com \n", + "7 http://www.tcs.com \n", + "8 http://www.flextronics.com \n", + "9 http://www.safeway.com \n", + "10 http://www.sony.com \n", + "11 http://www.lg.com \n", + "12 http://www.ford.com \n", + "13 http://www.boeing.com \n", + "14 \n", + "15 http://nokia.com \n", + "16 http://global.mitsubishielectric.com \n", + "17 http://global.mitsubishielectric.com \n", + "18 http://comcast.com \n", + "19 http://www.bertelsmann.com \n", + "\n", + " blog_url \\\n", + "0 \n", + "1 \n", + "2 \n", + "3 \n", + "4 \n", + "5 http://www.samsungvillage.com/ \n", + "6 http://www.accenture.com/Global/Accenture_Blogs/ \n", + "7 \n", + "8 http://www.flextronicsblog.com/ \n", + "9 \n", + "10 http://blog.sony.com/ \n", + "11 http://lgusblog.com/ \n", + "12 \n", + "13 \n", + "14 \n", + "15 \n", + "16 \n", + "17 \n", + "18 \n", + "19 \n", + "\n", + " blog_feed_url twitter_username \\\n", + "0 Siemens \n", + "1 IBM \n", + "2 Toyota \n", + "3 paypal \n", + "4 \n", + "5 samsungtweets \n", + "6 http://feeds.accenture.com/Accenture_High_Perf... accenture \n", + "7 http://www.tcs.com/rss_feeds/Pages/feed.aspx?f=p TCS_News \n", + "8 flextronics \n", + "9 \n", + "10 http://blog.sony.com/ Sony \n", + "11 LGUS \n", + "12 FordService \n", + "13 boeingairplanes \n", + "14 \n", + "15 nokia \n", + "16 \n", + "17 \n", + "18 XFINITYDeals \n", + "19 None \n", + "\n", + " category_code number_of_employees ... \\\n", + "0 hardware 405000 ... \n", + "1 software 388000 ... \n", + "2 enterprise 320000 ... \n", + "3 finance 300000 ... \n", + "4 None 227000 ... \n", + "5 hardware 221726 ... \n", + "6 consulting 205000 ... \n", + "7 consulting 200300 ... \n", + "8 None 200000 ... \n", + "9 other 186000 ... \n", + "10 hardware 180500 ... \n", + "11 hardware 177000 ... \n", + "12 automotive 171000 ... \n", + "13 other 160000 ... \n", + "14 None 140000 ... \n", + "15 mobile 125000 ... \n", + "16 hardware 107000 ... \n", + "17 hardware 107000 ... \n", + "18 games_video 100000 ... \n", + "19 other 100000 ... \n", + "\n", + " investments \\\n", + "0 [] \n", + "1 [{'funding_round': {'round_code': 'c', 'source... \n", + "2 [{'funding_round': {'round_code': 'a', 'source... \n", + "3 [{'funding_round': {'round_code': 'c', 'source... \n", + "4 [{'funding_round': {'round_code': 'e', 'source... \n", + "5 [{'funding_round': {'round_code': 'b', 'source... \n", + "6 [{'funding_round': {'round_code': 'unattribute... \n", + "7 [] \n", + "8 [{'funding_round': {'round_code': 'unattribute... \n", + "9 [] \n", + "10 [] \n", + "11 [{'funding_round': {'round_code': 'unattribute... \n", + "12 [] \n", + "13 [] \n", + "14 [] \n", + "15 [{'funding_round': {'round_code': 'b', 'source... \n", + "16 [] \n", + "17 [] \n", + "18 [{'funding_round': {'round_code': 'a', 'source... \n", + "19 [{'funding_round': {'round_code': 'b', 'source... \n", + "\n", + " acquisition \\\n", + "0 None \n", + "1 None \n", + "2 None \n", + "3 {'price_amount': 1500000000, 'price_currency_c... \n", + "4 None \n", + "5 None \n", + "6 None \n", + "7 None \n", + "8 None \n", + "9 None \n", + "10 None \n", + "11 None \n", + "12 None \n", + "13 None \n", + "14 None \n", + "15 None \n", + "16 None \n", + "17 None \n", + "18 None \n", + "19 None \n", + "\n", + " acquisitions \\\n", + "0 [{'price_amount': 418000000, 'price_currency_c... \n", + "1 [{'price_amount': None, 'price_currency_code':... \n", + "2 [] \n", + "3 [{'price_amount': None, 'price_currency_code':... \n", + "4 [] \n", + "5 [{'price_amount': None, 'price_currency_code':... \n", + "6 [{'price_amount': None, 'price_currency_code':... \n", + "7 [] \n", + "8 [{'price_amount': None, 'price_currency_code':... \n", + "9 [] \n", + "10 [{'price_amount': 260000000, 'price_currency_c... \n", + "11 [] \n", + "12 [{'price_amount': 9000000, 'price_currency_cod... \n", + "13 [{'price_amount': None, 'price_currency_code':... \n", + "14 [] \n", + "15 [{'price_amount': 96800000, 'price_currency_co... \n", + "16 [] \n", + "17 [] \n", + "18 [{'price_amount': 150000000, 'price_currency_c... \n", + "19 [{'price_amount': None, 'price_currency_code':... \n", + "\n", + " offices \\\n", + "0 [{'description': '', 'address1': 'Wittelsbache... \n", + "1 [{'description': 'Corporate Headquarters', 'ad... \n", + "2 [{'description': 'HQ', 'address1': 'Toyota Mot... \n", + "3 [{'description': '', 'address1': '2145 E Hamil... \n", + "4 [{'description': 'NTT', 'address1': '3-1, Otem... \n", + "5 [{'description': 'HQ - South Korea', 'address1... \n", + "6 [{'description': '', 'address1': '1615 Murray ... \n", + "7 [{'description': 'World Headquarters', 'addres... \n", + "8 [{'description': 'US HQ', 'address1': '6201 Am... \n", + "9 [{'description': 'HQ', 'address1': '5918 Stone... \n", + "10 [{'description': 'HQ', 'address1': '16530 Via ... \n", + "11 [{'description': 'Headquarters', 'address1': '... \n", + "12 [{'description': '', 'address1': 'One American... \n", + "13 [{'description': 'Corporate Headquarters', 'ad... \n", + "14 [{'description': 'HQ', 'address1': '', 'addres... \n", + "15 [{'description': 'headquarter', 'address1': 'K... \n", + "16 [{'description': 'HQ', 'address1': 'Tokyo Buil... \n", + "17 [{'description': 'HQ', 'address1': 'Tokyo Buil... \n", + "18 [{'description': 'One Comcast Center', 'addres... \n", + "19 [{'description': 'Corporate Headquarters', 'ad... \n", + "\n", + " milestones \\\n", + "0 [{'id': 35852, 'description': 'Siemens Receive... \n", + "1 [{'id': 10471, 'description': 'IBM Completes A... \n", + "2 [] \n", + "3 [{'id': 11916, 'description': 'Reserve Bank Of... \n", + "4 [] \n", + "5 [{'id': 11908, 'description': 'Samsung Ships 3... \n", + "6 [{'id': 1824, 'description': 'Nokia and Accent... \n", + "7 [] \n", + "8 [] \n", + "9 [] \n", + "10 [{'id': 18773, 'description': 'Sony Will Buy O... \n", + "11 [] \n", + "12 [] \n", + "13 [{'id': 44355, 'description': '\n", + "Boeing To Rep... \n", + "14 [{'id': 12279, 'description': 'Ken Olsen, co-f... \n", + "15 [{'id': 9161, 'description': 'Nokia, AT&T Putt... \n", + "16 [] \n", + "17 [] \n", + "18 [{'id': 24946, 'description': 'Comcast buys Mi... \n", + "19 [{'id': 20443, 'description': 'A Step Forward?... \n", + "\n", + " ipo \\\n", + "0 {'valuation_amount': None, 'valuation_currency... \n", + "1 {'valuation_amount': None, 'valuation_currency... \n", + "2 None \n", + "3 None \n", + "4 None \n", + "5 None \n", + "6 {'valuation_amount': None, 'valuation_currency... \n", + "7 None \n", + "8 None \n", + "9 None \n", + "10 {'valuation_amount': None, 'valuation_currency... \n", + "11 None \n", + "12 {'valuation_amount': None, 'valuation_currency... \n", + "13 None \n", + "14 None \n", + "15 {'valuation_amount': None, 'valuation_currency... \n", + "16 None \n", + "17 None \n", + "18 {'valuation_amount': None, 'valuation_currency... \n", + "19 None \n", + "\n", + " video_embeds \\\n", + "0 [{'embed_code': '