Giter Site home page Giter Site logo

datasciencestyleguide's Introduction

Data Science Style Guide

With great power there must also come great responsibility!

Image Source; xkcd

Anatomy of a Code

1. Background

Python is the primary language being used, by Data Science Teams, to develop and deploy solutions. It is important for various developers to remain on the same page. This style guide is a list of DOs and DON'Ts for the team's developer. This can be referred by internal and other teams and suggestions are welcome. This style guide is inspired by the Google's style guide for python. Author(s) have added more information and modified few important points to accommodate specific use-cases for development in all kinds of environment.

These best practices can be used while working on interactive python notebooks or while writing production level code on any IDE.

Preferred IDEs:

  • PyCharm Community Edition
  • pyzo
  • Vim

We have tried to cover important topics such as:

5. Jupyter Notebook Best Practices

6. Library Development Best Practices


๐Ÿšง Men at Work! ๐Ÿšง

Coming Soon, Near You!

  • Jupyter Notebook Best Practices
  • Library Development Best Practices

datasciencestyleguide's People

Contributors

shubhamgupta-dat avatar

Stargazers

Alex Thach avatar

Watchers

James Cloos avatar  avatar

datasciencestyleguide's Issues

Comments

### 3.12 TODO Comments
- Use `TODO` comments for code that is temporary, a short-term solution, or
good-enough but not perfect.
- A `TODO` comment begins with the string `TODO` in all caps and a parenthesized name, e-mail address, or other identifier of the person or issue with the best context about the problem. This is followed by an explanation of what there is to do.


This issue was generated by todo based on a TODO comment in bd4ce8d. It's been assigned to @shubhamgupta-dat because they committed the code.

`, it is almost always your name that is given.

- A `TODO` is not a commitment that the person referenced will fix the problem. Thus when you create a `TODO`, it is almost always your name that is given.
```python
# TODO([email protected]): Use a "*" here for string repetition.
# TODO(Zeke) Change this to use relations.
```


This issue was generated by todo based on a TODO comment in bd4ce8d. It's been assigned to @shubhamgupta-dat because they committed the code.

` in all caps and a parenthesized name, e-mail address, or other identifier of t...

- A `TODO` comment begins with the string `TODO` in all caps and a parenthesized name, e-mail address, or other identifier of the person or issue with the best context about the problem. This is followed by an explanation of what there is to do.
- The purpose is to have a consistent `TODO` format that can be searched to find out how to get more details.
- A `TODO` is not a commitment that the person referenced will fix the problem. Thus when you create a `TODO`, it is almost always your name that is given.


This issue was generated by todo based on a TODO comment in bd4ce8d. It's been assigned to @shubhamgupta-dat because they committed the code.

` comments for code that is temporary, a short-term solution, or

- Use `TODO` comments for code that is temporary, a short-term solution, or
good-enough but not perfect.
- A `TODO` comment begins with the string `TODO` in all caps and a parenthesized name, e-mail address, or other identifier of the person or issue with the best context about the problem. This is followed by an explanation of what there is to do.
- The purpose is to have a consistent `TODO` format that can be searched to find out how to get more details.


This issue was generated by todo based on a TODO comment in bd4ce8d. It's been assigned to @shubhamgupta-dat because they committed the code.

` format that can be searched to find out how to get more details.

- The purpose is to have a consistent `TODO` format that can be searched to find out how to get more details.
- A `TODO` is not a commitment that the person referenced will fix the problem. Thus when you create a `TODO`, it is almost always your name that is given.
```python
# TODO([email protected]): Use a "*" here for string repetition.


This issue was generated by todo based on a TODO comment in bd4ce8d. It's been assigned to @shubhamgupta-dat because they committed the code.

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.