MOONBOOKS
  • Notes
  • Projects
  • Courses
  • Videos
  • Datasets
  • Version
    • English
    • French
  • Sign-In
Join-Us
Notes Articles Jupyter PDF
Thumbnail 1

How to fix KeyError: 'PROJ_LIB' while using basemap in python ?

by Benjamin Marchant
Edited: Dec. 18, 2020, 8:47 p.m.
Tags: Python; Basemap;

Public
Thumbnail 1

How to create a histogram from a dataframe using pandas in python ?

by Benjamin Marchant
Edited: Dec. 17, 2020, 9:59 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to create a new list by adding elements from multiple lists of same length in python ?

by Benjamin Marchant
Edited: Dec. 17, 2020, 6:43 p.m.
Tags: Python; List;

Public
Thumbnail 1

How to get the size (e.g. number of elements) of a matrix with numpy in python ?

by Benjamin Marchant
Edited: Dec. 16, 2020, 7:39 p.m.
Tags: Python; Numpy;

Public
Thumbnail 1

How to print something only every n iterations in python ?

by Benjamin Marchant
Edited: Dec. 16, 2020, 6:02 p.m.
Tags: Python;

Public
Thumbnail 1

How to create and plot a confusion matrix (or crosstab) from two dataframe columns using pandas in python ?

by Benjamin Marchant
Edited: Dec. 16, 2020, 2:23 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to plot array values against one axis with numpy in python ?

by Benjamin Marchant
Edited: Dec. 16, 2020, 3:21 a.m.
Tags: Python; Numpy;

Public
Thumbnail 1

cloud_shadow_detection.ipynb

by Benjamin Marchant
Edited: Dec. 15, 2020, 3:19 a.m.

Public
Thumbnail 1

How to get the intersection between two sets in python ?

by Benjamin Marchant
Edited: Nov. 20, 2020, 3:36 a.m.
Tags: Python;

Public
Thumbnail 1

How to upsample an array (matrix) by repeating elements using numpy in python ?

by Benjamin Marchant
Edited: Nov. 18, 2020, 2:38 p.m.
Tags: Python; Numpy;

Public
Thumbnail 1

How to check if two dictionaries are the same in python ?

by Benjamin Marchant
Edited: Nov. 17, 2020, 3:18 a.m.
Tags: Python;

Public
Thumbnail 1

How to convert a dataframe to a dictionary with pandas in python ?

by Benjamin Marchant
Edited: Nov. 17, 2020, 2:43 a.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to get the number of words in a text using python ?

by Benjamin Marchant
Edited: Nov. 10, 2020, 3:27 a.m.
Tags: Python;

Public
Thumbnail 1

How to select the rows of a dataframe using the indices of another dataframe with pandas in python ?

by Benjamin Marchant
Edited: Oct. 22, 2020, 11:35 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

A TensorFlow deep learning algorithm for MODIS multilayer cloud and thermodynamic phase classification using CALIOP and CloudSat

by Benjamin Marchant
Edited: Oct. 20, 2020, 2:30 a.m.
Tags: Machine learning; Python; Scikit-Learn; TensorFlow;

Public
Thumbnail 1

How to check if a dictionary has a given key in python 3 ?

by Benjamin Marchant
Edited: Oct. 18, 2020, 1:46 a.m.
Tags: Python;

Public
Thumbnail 1

How to restore Aqua MODIS band 06 missing pixels using a nonlinear regression based on Gaussian processes ?: An application based on python and Scikit-Learn.

by Benjamin Marchant
Edited: Oct. 13, 2020, 2:19 a.m.
Tags: Python; Scikit-learn; Machine Learning; Gaussian processes; MODIS; Aqua;

Public
Thumbnail 1

How to uncompress a ".tar.gz" file using python ?

by Benjamin Marchant
Edited: Oct. 5, 2020, 2:42 p.m.
Tags: Python;

Public
Thumbnail 1

How to add text in a html page using javascript ?

by Benjamin Marchant
Edited: Oct. 5, 2020, 2:12 p.m.
Tags: javascript;

Public
Thumbnail 1

How to get the max value of two or more columns in a pandas dataframe ?

by Benjamin Marchant
Edited: Oct. 1, 2020, 9:16 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to fix the error "The kernel appears to have died. It will restart automatically." with Tensorflow on Mac ?

by Benjamin Marchant
Edited: Oct. 1, 2020, 8:55 p.m.
Tags: TensorFlow;

Public
Thumbnail 1

How to extract the value names and counts from value_counts() in pandas ?

by Benjamin Marchant
Edited: Oct. 1, 2020, 3:36 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to get a list of python modules (with version for each module) and create a requirements.txt file ?

by Benjamin Marchant
Edited: Sept. 26, 2020, 5:10 p.m.
Tags: Python;

Public
Thumbnail 1

How to use Docker with an existing Django project on my local machine ?

by Benjamin Marchant
Edited: Sept. 24, 2020, 6:16 p.m.
Tags: Django; Docker;

Public
Thumbnail 1

How to plot (visualize) a neural network in python using Graphviz ?

by Benjamin Marchant
Edited: Sept. 18, 2020, 2:43 a.m.
Tags: Python; Neural Network; Graphviz;

Public
Thumbnail 1

A machine learning algorithm based on Gaussian processes for MODIS multilayer cloud and thermodynamic phase classification using CALIOP and CloudSat

by Benjamin Marchant
Edited: Sept. 3, 2020, 4:24 p.m.
Tags: Machine learning; Python; Scikit-Learn; Gaussian Processes;

Public
Thumbnail 1

How to transform (encode) a qualitative (categorical) variable into a quantitative variable with scikit learn in python ?

by Benjamin Marchant
Edited: Aug. 25, 2020, 9:23 p.m.
Tags: Python; sklearn; Machine Learning;

Public
Thumbnail 1

How to drop (remove) dataframe rows that contain NaN with pandas ?

by Benjamin Marchant
Edited: Aug. 4, 2020, 6:12 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to download a file from NASA LAADS DAAC using python ?

by Benjamin Marchant
Edited: Aug. 3, 2020, 4:06 a.m.
Tags: Python;

Public
Thumbnail 1

How to calculate the determinant of a square matrix with numpy in python ?

by Benjamin Marchant
Edited: Aug. 3, 2020, 1 a.m.
Tags: Python; Numpy;

Public
Thumbnail 1

How to count the number of NaN in a pandas dataframe column ?

by Benjamin Marchant
Edited: Aug. 1, 2020, 6:26 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to read an excel file (with extension xlsx) with pandas in python ?

by Benjamin Marchant
Edited: July 30, 2020, 3:50 a.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to find all unique values in a dataframe column with pandas ?

by Benjamin Marchant
Edited: July 30, 2020, 1:59 a.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to find all combinations from a list of elements in python ?

by Benjamin Marchant
Edited: July 29, 2020, 2:42 a.m.
Tags: Python;

Public
Thumbnail 1

How to find all unique values in a matrix using numpy in python

by Benjamin Marchant
Edited: July 28, 2020, 5:55 p.m.
Tags: Python; Numpy;

Public
Thumbnail 1

How to convert a matrix to a list in python ?

by Benjamin Marchant
Edited: July 27, 2020, 9:22 p.m.
Tags: Python; Numpy;

Public
Thumbnail 1

How to convert a list to a matrix using numpy in python ?

by Benjamin Marchant
Edited: July 27, 2020, 6:47 p.m.
Tags: Python; Numpy;

Public
Thumbnail 1

How to find a minimum value in a pandas dataframe column ?

by Benjamin Marchant
Edited: July 27, 2020, 4:44 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to find a maximum value in a pandas dataframe column ?

by Benjamin Marchant
Edited: July 27, 2020, 4:34 p.m.
Tags: Python; Pandas; DataFrame;

Public
Thumbnail 1

How to check if a number is NAN or INF in python ?

by Benjamin Marchant
Edited: July 26, 2020, 7:33 p.m.
Tags: Python;

Public
  • Prev
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
Copyright © 2025 - All rights reserved Contact Us Terms & Conditions