Statistical thinking in Python (part 1)
...
Examining the dataset
Throughout this course, you’ll be analyzing a dataset of traffic stops in Rhode Island that was collected by the Stanford Open Policing Project. Before beginning your analysis, it’s important that you […]...
Exploratory Data Analysis in Python
1: Exploring the NSFG data To get the number of rows and columns in a DataFrame, you can read its shapeattribute. To get the column names, you can read the columns attribute. The […]...
Writing Functions In Python
Crafting a docstring You’ve decided to write the world’s greatest open-source natural language processing Python package. It will revolutionize working with free-form text, the way numpy did for arrays, pandas did for tabular data, […]...
Working with dates and times in python
Which day of the week? Hurricane Andrew, which hit Florida on August 24, 1992, was one of the costliest and deadliest hurricanes in US history. Which day of the week […]...
Intermediate Importing Data in Python
Importing flat files from the web: your turn! You are about to import your first file from the web! The flat file you will import will be 'winequality-red.csv' from the University of […]...
Introduction to Importing Data in Python
In this chapter, you’ll learn how to import data into Python from all types of flat files, which are a simple and prevalent form of data storage. You’ve previously learned […]...
Merging dataframes with Pandas
Performing Anti-Joins Merge employees and top_cust with a left join, setting indicatorargument to True. Save the result to empl_cust. Select the srid column of empl_cust and the rows where _merge is 'left_only'. Save the result to srid_list. Subset the employees table and select those rows where the srid is […]...
Solution for permission and connection problems with MongoDB on macOS
Stepwise description of solving permission and connection issues with MongoDB on macOS. Final stabile solution (see ยง7) is setting a global alias with the right path in ~/.zshrc 2. Prerequisites Suitable […]...
Datavisualisation: what can you see?
In this blogpost I am zooming in into understanding how visual informatie is processed by Describing the underlying principles of perceptual organization Explain why design should support visual queries Describe […]...