Self-Improvement, Books, Philosophy of Everyday Life

Showing: 9 RESULTS
All Posts Udacity

Plotting with Pandas – Udacity

import pandas as pd % matplotlib inline df_census = pd.read_csv(‘census_income_data.csv’) df_census.info() df_census.hist(figsize=8, 8)); df_census[‘age’].hist() df_census[‘age’].plot(kind=’hist’); df_census[‘education’].value_counts() #aggregates counts for each unique value in a column df_census[‘education’].value_counts().plot(kind=’bar’) df_census[‘education’].value_counts().plot(kind=’pie’, figsize=(8, 8));   df_cancer = pd.read_csv(‘cancer_data_edited.csv’) pd.plotting.scatter_matrix(df_cancer, figsize=(15, 15)); df_cancer.plot(x=’compactness’, y=’concavity’, kind=’scatter’); df_cancer[‘concave_points’].plot(kind=’box’);   import pandas as pd df = pd.read_csv(‘cancer_data_edited.csv’) df.head() df_m = df[df[‘diagnosis’] == ‘M’] df_m.head() …

All Posts Udacity

Python 3 Syntax – Udacity

def readable_timedelta(days): “””Print the number of weeks and days in a number of days.””” #to get the number of weeks we use integer division weeks = days // 7 #to get the number of days that remain we use %, the modulus operator remainder = days % 7 return “{} week(s) and {} day(s)”.format(weeks, remainder)

One Sentence Persuasion Course
All Posts Books

The One Sentence Persuasion Course

27 Words to Make the World Do Your Bidding by Warren Blair Read:  2018-02-03, Rating:  5/10. The Setup the most magical things in life – on and off the stage – are often the result of the correct application of the most basic principles imaginable. What is necessary is a fundamental understanding of human nature, …