Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 22nd, 2018
108
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
import arcpy
Tl= "D:/Shreya/DL.shp"
fields = ["FTR_CRY", "RANK"]
with arcpy.da.UpdateCursor(Tl, fields) as cursor:
for row in cursor:
if row[0] =="COMGOV":
row[1] = 1
cursor.updateRow(row)
Add Comment
Please,
Sign In
to add comment
Public Pastes
new Earthquake shell script
Bash | 2 min ago | 0.39 KB
cc-ftp
Lua | 3 min ago | 4.24 KB
SNN
Python | 11 min ago | 7.73 KB
ftp.lua
Lua | 11 min ago | 4.58 KB
SNN-RandomForest
Python | 12 min ago | 9.88 KB
CNN-RNN
Python | 14 min ago | 4.03 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 16 min ago | 0.39 KB
cc-ftp
Lua | 16 min ago | 4.58 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!