Create a model to predict bicycle ridership

InterviewQs

Create a model to predict bicycle ridership

Python Pandas Data Analysis External Dataset Linear Regression Data Visualization

Forward this email to a friend or colleague and challenge them to solve it.

Hi, 

We're given the following dataset, from New York City Open Data. The dataset shows the counts of bicycle crossings for each bridge along the East River for the month of April, along with weather and precipitation data, cut by day. This data is used by the New York City Department of Transportation for planning purposes, among other things.

Using this data, create a model to determine whether or not you can predict bicycle traffic for the given bridges, based on the variables provided (day of week, temperature, precipitation, etc).

Below is code to import the dataset into a Google Colab or Jupyter notebook to help get you started:

    

# Here is code to pull the dataset and relevant libraries

# into a Google Colab or Jupyter notebook to help get you started

import matplotlib.pyplot as plt

import numpy as np

import pandas as pd

import seaborn as sns

df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/nyc_east_river_bicycle_counts.csv')

df.head()


Solution will be written in Python for premium users.



 

You’ve accumulated 196 questions since joining our email list. Create a premium account to access detailed solutions to each problem (including this one) + our new Case studies.


Was this email forwarded to you? You can join our list here to receive questions

How did you like today's question?

15411 Boischatel, Montreal, QC, H9H1Y7, Canada
Don't want to get these emails anymore? We'll forgive you if you unsubscribe

Older messages

Probability of choosing a diamond

Friday, October 1, 2021

Statistics, Probability Theory, Conditional Probability, InterviewQs Probability of choosing a diamond Statistics Probability Theory Conditional Probability Forward this email to a friend or colleague

Average lifetime value of a customer

Wednesday, September 29, 2021

Python, Product Metrics, Pandas, Data Analysis, External Dataset, InterviewQs Average lifetime value of a customer Python Product Metrics Pandas Data Analysis External Dataset Forward this email to a

Office space capacity

Monday, September 27, 2021

SQL, Database Querying, InterviewQs Office space capacity SQL Database Querying Forward this email to a friend or colleague and challenge them to solve it. Hi, You are given a table of office sites

Customer recency

Friday, September 24, 2021

Data Analysis, Python, Pandas, Data Manipulation, External Dataset, InterviewQs Customer recency Data Analysis Python Pandas Data Manipulation External Dataset Forward this email to a friend or

Winning the lottery!

Wednesday, September 22, 2021

Statistics, Probability Theory, InterviewQs Winning the lottery! Statistics Probability Theory Forward this email to a friend or colleague and challenge them to solve it. Hi, Suppose you're trying

You Might Also Like

Daily Coding Problem: Problem #1423 [Medium]

Friday, April 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. You are given an array of nonnegative integers. Let's say you start at the

Data science for Product Managers

Friday, April 26, 2024

Crucial resources to empower you with data that matters. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Inner Thoughts

Friday, April 26, 2024

'The Inner Circle' Comes Around... Inner Thoughts By MG Siegler • 26 Apr 2024 View in browser View in browser If you'll allow me a brief meta blurb this week (not a Meta blurb, plenty of

Digest #135: Kubernetes Hacks, Terraform CI/CD, HashiCorp Acquisition, AWS Data Transfer Monitoring

Friday, April 26, 2024

Explore Advanced Kubernetes Techniques, Dive Into Terraform CI/CD Frameworks, Monitor AWS Data Transfer, and Explore Cloud Security with Gitleaks! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Build5Nines Newsletter - April 25, 2024

Friday, April 26, 2024

View this email in your browser Build5Nines Build5Nines Newsletter Thank you for subscribing! I look forward to sharing with you the latest cloud news, technical help, and other thoughts around DevOps

Ranked | Which City Has the Most Billionaires in 2024? 💰

Friday, April 26, 2024

Just two countries account for half of the top 20 cities with the most billionaires. And the majority of the other half are found in Asia. View Online | Subscribe Presented by: Discover what drives

iOS Dev Weekly - Issue 658

Friday, April 26, 2024

Meet the Swift Student Challenge winners for WWDC 2024 🎉 View on the Web Archives ISSUE 658 April 26th 2024 Comment Visiting WWDC is always a special experience, but attending is harder than with many

Introducing SwiftUI to the team, Let loose and much more!

Friday, April 26, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. How We Got Everyone on Board with a New Technology

SWLW #596: SRE and the art of improvisation, The power of celebration, and more.

Friday, April 26, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Notion's New Look | In-App Notifications | Duplicated Automations

Friday, April 26, 2024

Your weekly Notion digest with the finest tip, latest news, and improvements! 🔥 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏