Giter Site home page Giter Site logo

seralexger / datacamp-download Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 8 KB

A simple class to download the source code of your completed DataCamp courses.

License: MIT License

Python 100.00%
datacamp datacamp-course scraper scraping-websites datacamp-exercises

datacamp-download's Introduction

DataCamp Download

I have built an unofficial class to give an easy way to download DataCamp source code, and the datasets used in the course.

Getting Started

All the necesary libraries for run the project are in the requirements.txt.

Use of the class

There is a simple practical example in dataCamp_download.py, for download your course code, you must have completed the course. This command will create a directory structure where you will find the chapters of the course and its source code.

python dataCamp_download.py -u user_datacamp -p pass_datacamp -q course_url

course_url sample

https://www.datacamp.com/courses/intro-to-python-for-data-science

Exercise source code file example

#COMPARING A HISTOGRAM AND DISTPLOT

#STATEMENT
'''
The pandas library supports simple plotting of data, which is very convenient when data
is already likely to be in a pandas DataFrame.

'''

#INSTRUCTIONS
'''
Use the pandas' plot.hist() function to plot a histogram of the Award_Amount column.
'''

#EXERCISE SOURCE CODE


#Comparing a histogram and distplot subexercise 0

# Display pandas histogram
df['Award_Amount'].plot.hist()
plt.show()

# Clear out the pandas histogram
plt.clf()

#Comparing a histogram and distplot subexercise 1

# Display a Seaborn distplot
sns.distplot(df['Award_Amount'])
plt.show()

# Clear the distplot
plt.clf()

TODO

Get requirements.txt of the chapter

datacamp-download's People

Contributors

seralexger avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

tonitsai

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.