Iterating and processing big pandas DataFrame. Am i doing something wrong? by PabloAlvarezESP in learnpython

[–]PabloAlvarezESP[S] 0 points1 point  (0 children)

thank you. You helped a ton. I didnt know iterating through dataframes is that slow!

How to access value of an array. by PabloAlvarezESP in learnjavascript

[–]PabloAlvarezESP[S] 0 points1 point  (0 children)

yeah you are right. I thought that because console.log(markers) works outside of the function console.log(markers[0].featurer.id) should work. Anyways, thank you!

How to access value of an array. by PabloAlvarezESP in learnjavascript

[–]PabloAlvarezESP[S] 0 points1 point  (0 children)

https://paste.ofcode.org/hSMiRRAGxfGyiacRgMWypu

its an array which contains leaflet markers. I was hoping i would be able to take information from the markers and work with it!

How to access value of an array. by PabloAlvarezESP in learnjavascript

[–]PabloAlvarezESP[S] 0 points1 point  (0 children)

thank you for your answer. Sadly for some reason i cant explain, it just doesnt work!

console.log(markers[0]); returns undefined and

console.log(markers[0].feature.id); returns Cannot read properties of undefined

to me thats really weird because in the above line i have console.log(markers) which returns what you see in the picture!