POST
|
v = ['a', 'c', 'b', 'd', None]
v*2 # --- just to show you can expand lists
['a', 'c', 'b', 'd', None, 'a', 'c', 'b', 'd', None]
v0 = v*1000000 # lets make one with 5 million values
# ---- As Joshua says, it isn't slow, and there is an `if` statement in the #
list comprehension
%timeit ' '.join([x for x in v0 if x is not None ])
217 ms ± 31.1 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)
# ---- What about filter using the first 4 values agains `None`
' '.join(filter(None, v[:4]))
'a c b d'
# ---- no slouch either, and largely insignificant
%timeit ' '.join(filter(None, v0))
170 ms ± 8.33 ms per loop (mean ± std. dev. of 7 runs, 10 loops each) slow coding night 😉
... View more
yesterday
|
0
|
0
|
10
|
POST
|
There is a selection on your map. Your screen grab truncated part of your table and perhaps if you only want to view the selected records, you could look at the bottom left of your table
... View more
yesterday
|
0
|
0
|
22
|
POST
|
many ways, but the extraction toolset in the Spatial Analyst would be the first go to An overview of the Extraction toolset—ArcGIS Pro | Documentation begin with a look at extract by mask, or polygon
... View more
Tuesday
|
0
|
0
|
56
|
POST
|
Create Fishnet (Data Management)—ArcGIS Pro | Documentation the last parameter allowed you to ceate a polygon or polyline file
... View more
Tuesday
|
0
|
0
|
27
|
POST
|
Did you purchase it? Intelligence Analysis Software & Link Analysis | ArcGIS AllSource (esri.com)
... View more
Tuesday
|
0
|
0
|
27
|
POST
|
Code formatting ... the Community Version - Esri Community would help people who wish to comment so they can refer to line numbers. A quick tour of creating tools with Python—ArcGIS Pro | Documentation will allow you to decide which type of toolbox you want to make
... View more
Monday
|
0
|
0
|
64
|
POST
|
MyInput = " ooops "
def MrClean(MyInput):
if MyInput is not None:
return MyInput.strip()
print(MrClean(None))
None
print(MrClean(MyInput))
ooops
... View more
Friday
|
0
|
0
|
142
|
POST
|
symbology : buffered gradient properties: outline width 0 obviously you would pick a less obvious patch color and you can mess around with the pattern
... View more
Friday
|
2
|
1
|
112
|
POST
|
Was your example derived from ArcGIS Pro 2.5 CIM Samples V1 - Overview in the section for modifying tableframe objects? or was it examples in the cim folder, for example... C:\...install path ...\Resources\ArcPy\arcpy\cim\CIMLayout.py
... View more
Friday
|
0
|
1
|
86
|
POST
|
worth a look Solved: ArcGIS Pro 3.0.2 - How to apply colormap file .clr... - Esri Community
... View more
Thursday
|
0
|
0
|
87
|
POST
|
Did you see some of the tools available? For example Aggregate Multidimensional Raster (Image Analyst)—ArcGIS Pro | Documentation
... View more
Thursday
|
0
|
0
|
48
|
POST
|
I don't see anything globally, but the cim access provides some options, for example for Text elements TextElement—ArcGIS Pro | Documentation
... View more
a week ago
|
0
|
0
|
52
|
POST
|
presumably you have seen the classes in mapping and associated links in the help files Alphabetical list of arcpy.mp classes—ArcGIS Pro | Documentation
... View more
a week ago
|
0
|
0
|
123
|
POST
|
Because plain text files or even comma delimited ones need processing and checking prior to being used in Pro, hence the need to use something that provides that control, XY table to point being one of them
... View more
a week ago
|
0
|
0
|
101
|
Title | Kudos | Posted |
---|---|---|
1 | 10-05-2023 05:47 PM | |
1 | 11-11-2021 01:49 PM | |
2 | Friday | |
1 | 11-21-2023 08:38 AM | |
1 | 03-22-2024 06:44 PM |
Online Status |
Offline
|
Date Last Visited |
3 hours ago
|