# Loc method not working

**URL:** <https://forum.codewithmosh.com/t/loc-method-not-working/21949>\
**Category:** Uncategorized\
**Created:** [August 9, 2023, 6:43am UTC](https://forum.codewithmosh.com/t/loc-method-not-working/21949 "2023-08-09T06:43:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyprogrammer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/cyprogrammer/32/6607_2.png) [@cyprogrammer](https://forum.codewithmosh.com/u/cyprogrammer)\
**Post date:** [August 9, 2023, 6:43am UTC](https://forum.codewithmosh.com/t/loc-method-not-working/21949/1 "2023-08-09T06:43:43Z")

</div>

Hello, I am trying to get the Close price for the Facebook dataset for the whole year (2015) using this code expression but there is no output. What am I missing?

 ![Capture dddd](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/85f6a4276cab6e29958c6965e92b96fafd187dc2.jpeg)
