This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rasterio | |
from numpy import copy, random, arange | |
import numpy as np | |
from matplotlib import pyplot | |
from matplotlib.colors import LinearSegmentedColormap | |
#Reading | |
dataset = rasterio.open('raster.tif') | |
#example raster is from https://daac.ornl.gov/VEGETATION/guides/Decadal_LULC_India.html | |
data=dataset.read(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Based on [this](http://stackoverflow.com/questions/27905295/how-to-replace-nans-by-preceding-values-in-pandas-dataframe) | |
ee['company']=ee['company'].fillna(method='ffill') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[10pt]{article} | |
\usepackage{labels} | |
\usepackage{url} | |
\newcommand{\brk}{$\cdot$ } | |
%\LabelGridtrue % Enable this to | |
\LabelCols=2% Number of columns of labels per page | |
\LabelRows=6% Number of rows of labels per page | |
\begin{document} | |
\numberoflabels=12 |
NewerOlder