Giter Club home page Giter Club logo

efficient_python_tricks_and_tools_for_data_scientists's Introduction

Efficient Python Tricks and Tools for Data Scientists

View on GitHub View Book

Why efficient Python? Because using Python more efficiently will make your code more readable and run more efficiently.

Why for data scientist? Because Python has a wide application. The Python tools used in the data science field are not necessarily useful for other fields such as web development.

The goal of this book is to spread the awareness of efficient ways to do Python. They include:

  • efficient methods and libraries to work with iterator, dictionary, function, and class
  • efficient methods to work with popular data science libraries such as pandas and NumPy
  • efficient tools to incorporate in a data science project
  • efficient tools to incorporate in any project
  • efficient tools to work with Jupyter Notebook.

image

What Should You Expect From This Book?

This book expects you to have some basic knowledge of Python and data science.

You should also expect bite-size code snippets for each section. This will allow you to obtain multiple pieces of knowledge in fewer than one minute. I included the link to the resources for every tools introduced in case you want to explore them further.

About This Book

This book includes more than 700 tips and tools I have shared daily on my website, CodeCut. If you want to get the updated of new tips on your mailbox, you can subscribe to my website.

About The Author

image

Khuyen Tran wrote over 150 data science articles with 100k+ views per month on Towards Data Science. She also wrote 500+ daily data science tips at CodeCut. Her current mission is to make open-source more accessible to the data science community.

efficient_python_tricks_and_tools_for_data_scientists's People

Contributors

khuyentran1401 avatar solegalli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

efficient_python_tricks_and_tools_for_data_scientists's Issues

Request posting about causallib

About the requester

Name: Khuyen Tran
GitHub username: @khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Request posting about causallib

About the requester

Name: Khuyen Tran
GitHub username: khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Request posting about causallib

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

causallib

About the requester

Name: Khuyen Tran
GitHub username: @khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Issue on page /how_to_read.html

@khuyentran1401,
In the below section

String find: Find The Index of a Substring in a Python String

# Start searching for the substring at index 3 sentence.find("day", 3)

Output should be 14 and not 15.

Kindly, reach out to me in case of any concern!
5443630D-2A10-4CBB-85A7-728FC948AB0D

Request posting aboutcausallib

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Request posting about causallib

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

causallib-

About the requester

Name: Khuyen Tran
GitHub username: @khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

What are the most impressive features of this product?

Request posting about causallib

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Request posting about causallib

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

causallib

About the requester

Name: Khuyen Tran
GitHub username: @khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Issue on page /Chapter2/pathlib.html

the pathlib example seems odd/incorrect, returning 12?

to make it similar to the os example perhaps it should be the following?

from pathlib import Path

# Create a new directory
folder = Path("new")
folder.mkdir(exist_ok=True)

# Create new file inside new directory
file = folder / "new_file.txt"

# Write text
file.write_text("Hello World!")

# Read text
print(file.read_text())

with a result of:

Hello World!

Request posting about fdsf

About the requester

Name: fdasf
GitHub username: @fdaf

Information about the product

  • Name: fdsf
  • URL: fdaf

Which areas does this product focus on?

Python

What problems does this product solves?

fdasf

What are the most impressive features of this product?

fdaf

Offline docker image

Thanks for the great work. Sir /Madam can you make it also available as a docker image, so one can use it offline on docker. Thanks

causallib

About the requester

Name: Khuyen Tran
GitHub username: @khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Request posting about causallib

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.
### What are the most impressive features of this product? The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

Request posting about sdf

About the requester

Name: fdsf
GitHub username: @fdsF

Information about the product

  • Name: sdf
  • URL: dfsd

Which areas does this product focus on?

Data Science

What problems does this product solves?

fdsfs

What are the most impressive features of this product?

fsdfs

causallib

About the requester

Name: Khuyen Tran
GitHub username: @khuyentran1401

Information about the product

Which areas does this product focus on?

Data Science; Machine Learning/AI; Python

What problems does this product solves?

It enables estimating the causal effect of an intervention on some outcome from real-world non-experimental observational data.

What are the most impressive features of this product?

The fit-and-predict-like API makes it possible to train on one set of examples and estimate an effect on the other (out-of-bag), which allows for a more "honest"1 effect estimation.

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.