 data which is "?" is this case and convert last column(income) into boolean. Followed couple answers on StackOverflow but still won't work. Here is the code:
%pylab inline
import numpy as np
import pylab as pl
import pandas as pd
from sklearn.tree import DecisionTreeClassifier

fileURL = 'http://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data'

df = pd.read_csv(fileURL, 
                 names=['age','type_employer', 'fnlwgt', 'education', 
                        'education_num','marital', 'occupation','relationship', 
                        'race','sex','capital_gain', 'capital_loss', 'hr_per_week','country', 'income'],  
                 na_values = ['?'])

df = df.dropna(how='any')
boolean = {'>50K': True, '<=50K': False}
df['income'].map(boolean)
df

Thanks.

A: 1. df['income'] = df['income'].applymap(boolean)
2. df.dropna(how='any', axis=1, inplace = True)

note applymap and axis

A: You had almost the right method, but you are catching extra spaces in parsing. CSV is not supposed to have spaces.
df = pd.read_csv(fileURL, 
             names=['age','type_employer', 'fnlwgt', 'education', 
                    'education_num','marital', 'occupation', 
                   'relationship', 
                    'race','sex','capital_gain', 'capital_loss', 
                    'hr_per_week','country', 'income'],  
             na_values = ['?'])

df = df.dropna(how='any')
boolean = {' >50K': True,'<=50K': False}
df['income'] = df['income'].map(boolean)
df

FERNANDO LLORENTE’S 15 goals in the Premier League means Swansea are preparing themselves for a tidal wave of interest in their top scorer.
The Spanish centre forward was bang on the mark for the Welsh club as he came to their rescue with crucial strikes in their successful battle against relegation.
Swansea definitely don’t want to lose their talisman.
Keep up to date with all the latest news, gossip, rumours and done deals in SunSport’s live transfer blog
But his contract is up at the end of next season so they stand to lose him for nothing a year from now.
Even so, the Swans are prepared for that if he stays at least until then and further establishes them as a top flight club.
MOST READ IN FOOTBALL
Chelsea tried to sign the 32-year-old, who played under Antonio Conte at Juventus, in January and could be back again this summer.
At the time Llorente told the Daily Mail: “I know Chelsea wanted me in January.
“I said straight away that I wanted to stay here. We were fighting relegation, there was a cause. I could not go.”
Of course, Swansea could be severely tested if the Blues put a big money deal on the table.
But boss Paul Clement and his board they are determined Llorente stays put.
Llorente, meanwhile, will be at Cardiff’s Millennium Stadium on Saturday to watch his former club Juve in the Champions League final against Real Madrid.Generally, no. I think there might be some help for specific locations, but I'm talking about non-continental US locations. Think Guam, PR, Alaska, Hawaii, and even then I'm not sure cause I nor anyone from my class went any of those places. 

When you graduate academy and pick your first facility, they give you a set number of days to report there based on distance from the academy, and you get some "change of station" leave you can use. In my case, I was going to Houston. Iirc, I got like 2/3 days. So I called my facility, set up some of my change of station leave, drove home from OKC to northern Iowa, spent some time with the family and collected my things, and drove down to Houston. Lived at a hotel for a week or 2 while looking for an apartment.

Edit: thinking back, there may have been some milage/per diem paid to me for that stuff, but as far as actual moving costs (if I had needed them, luckily, I could just load up my car) no help.About a week after reports about an imminent coup got the internet buzzing here, authorities have detained six persons and shut down 16 websites for fanning the rumours.
The detention and shut down were ordered because those involved were "fabricating or disseminating online rumours," the State Internet Information Office and Beijing police said.
The websites were closed for spreading rumors of "military vehicles entering Beijing and something wrong going on".
The SIIO spokesman added that two popular micro-blogging sites - weibo.com and t.qq.com where much of the coup reports were shared by curious netizens - were also punished by authorities. Subsequently, the sites suspended the comment functions on their websites.Analytics play a vital role in helping organisations to make informed decisions in every aspect their business. However, many SAP users are struggling to make the most of their BI tools due to time pressures, data management challenges and the fast pace of digital transformation. These challenges are set to grow as 68% of SAP users expect their BI portfolios to increase according to a recent ASUG report.
To help users hear the latest insights around analytics and learn from their peers andSAP experts, we are hosting our virtual Analytics Symposium later this month as part of the UKISUG Digital Showcase series.
This year’s Analytics Symposium will feature a virtual keynote from SAP Innovation Evangelist Timo Elliott. In his talk, Timo will outline the most common barriers faced in BI and look at how organisations are making progress in overcoming them.
Following this, Rob Patrick & UK MD Stacey White from G3G will discuss a very different kind of ERP (That’s the Elephant, Rhino and People Air Force), and how it used SAP to help protect endangered wildlife in South Africa. G3G will explain how ERP use drones to monitor elephant and rhino herds in conservation areas, analysing the data from drones, animal collars and other IoT devices in the cloud with SAP HANA reporting and SAP’s Leonardo framework.
There will also be several customer and partner breakout sessions aimed at helping users to enhance their analytics knowledge. Customers will include Rob Moore from Edwards Vacuum, who will explain the firm’s move from ECC to SDI to HANA to Analytics. Gaurish Dessai from Croda will also present, explaining how the company used SAP Leonardo IoT to build smarter labs. Additionally, Shane Scott and Dawn Ingle from Shoosmiths will outline how they built dashboards for the firm.
The partner sessions will cover a variety of topics from the challenges of combining data in analytics solutions, building smart IoT labs with Google Cloud through to innovating with SAP Cloud.
The event will run from 9am-2pm on Tuesday 22nd of September, and you can find out more in the full agenda here.
This event is open for non-members too, who can sign up to attend as a guest for £150. Non-members can also attend by signing up for a new 4-month membership option, gaining access to this symposium, the full range of events at the Digital Showcase and all the other benefits of being a member. To find out more and check your eligibility please contact support@sapusers.org.Abstract: The invention discloses a measuring device for measuring the mass of a weight, comprising: a main frame; a main beam supported on main frame; a balancing system loaded on one end of the main beam; a weighting system, loaded on the other end of the main beam; a weight transportation system capable of transporting and loading a standard weight or a test weight into the weighting system and capable of unloading and transporting them away from the weighting system; and a control system comprising an optical sensor mounted in the main frame, a laser displacement sensor mounted on the main beam, a monitor, and a control unit connected electrically to the optical sensor, the laser displacement sensor and the monitor. The control system is adapted to compare a main beam first displacement data obtained by the optical sensor and a main beam second displacement data obtained by the laser displacement sensor to accurately measure the actual displacement of the main beam.
Abstract: A weight scale (100) for assisting with management of congestive heart failure and other ailments includes a housing (101) that can define a substantially flat planar surface (102). A weight measurement device (202) measures a weight of a user. A control circuit (201) stores in a memory (203) a first predefined weight threshold (205) and a second predefined weight threshold (206). The scale includes light sources (107,108,109) operable with the control circuit to selectively present one of three color-coded indications. When the weight is between the below the first predefined weight threshold, the light sources present a first color indication. When the weight is between the first predefined weight threshold and the second predefined weight threshold, the light sources present a second color indication. When the weight is above the second predefined weight threshold, the light sources present a third color