# Why doesn't my export contain "annotation results" column?

**URL:** <https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283>\
**Category:** Label Studio Support\
**Created:** [July 9, 2024, 5:53pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283 "2024-07-09T17:53:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 5:53pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/1 "2024-07-09T17:53:32Z")

</div>

I followed the blog’s “sentiment annotation” examples and annotated a few reviews. In the UI, I can see the “Annotation Results” column, but the exported file doesn’t contain this column, so I can’t get the annotation results. My installation is below:

`pip install label-studio`

The current version is below:  
Label Studio version: 1.12.1

{  
“release”: “1.12.1”,  
“label-studio-os-package”: {  
“version”: “1.12.1”,  
“short\_version”: “1.12”,  
“latest\_version\_from\_pypi”: “1.12.1”,  
“latest\_version\_upload\_time”: “2024-05-21T16:23:55”,  
“current\_version\_is\_outdated”: false  
},  
“label-studio-os-backend”: {  
“message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
“commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
“date”: “2024/05/08 12:50:08”,  
“branch”: “”,  
“version”: “1.12.1+0.g779ee98.dirty”  
},  
“label-studio-frontend”: {  
“message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
“commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
“date”: “2024-05-08T14:38:04.000Z”,  
“branch”: “develop”  
},  
“dm2”: {  
“message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
“commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
“date”: “2024-05-08T14:38:04.000Z”,  
“branch”: “develop”  
},  
“label-studio-converter”: {  
“version”: “0.0.58”  
}  
}

 ![Screenshot 2024-07-09 at 10.45.59 AM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/8c4208c6252e87f3aa02ea9c2fca8813c042f8d3.jpeg)

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 7:28pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/2 "2024-07-09T19:28:30Z")

</div>

The annotation results column is calculated on the fly when you call `api/tasks` in the data manager and it’s used only for displaying short pieces of text (up to 200 chars).

You can find the full result in `task['annotations'][0]['result']`.

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 10:36pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/3 "2024-07-09T22:36:48Z")

</div>

![Screenshot 2024-07-09 at 3.30.14 PM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/ddc9bd3f942a2a5a4e6ae4f57f4436404f1f00d9.png)

Hi, @makseq According to this instruction, " 1. The export will always include the annotated tasks, regardless of filters set on the tab." So I suppose the export should contain annotations. Does this look like a bug?

I also tried this command “label-studio export --export-path=”, but the output also doesn’t contain my annotations.

Do you have a link pointer that can help with this approach:

`task['annotations'][0]['result']`

I also saw this example code below:  
from label\_studio\_converter import Converter

```auto
c = Converter('examples/sentiment_analysis/config.xml')
c.convert_to_csv('examples/sentiment_analysis/completions/', 'output_dir', sep='\t', header=True)

```

How to find ‘config.xml’ in my project?

---

<div class="post-metadata">

**Author:** ![caitlinhumansignal](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/caitlinhumansignal/32/82_2.png) [@caitlinhumansignal](https://community.labelstud.io/u/caitlinhumansignal)\
**Post date:** [July 9, 2024, 11:00pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/4 "2024-07-09T23:00:23Z")

</div>

@makseq he is trying to export to CSV and include the annotation result in the exported CSV. It doesn’t happen automatically, so I was trying to give instructions to use the converter tool (although the repo is archived).

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:09pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/5 "2024-07-09T23:09:03Z")

</div>

In CSV this column name will be `label`.

> Do you have a link pointer that can help with this approach:  
> `task['annotations'][0]['result']`

Please, open your exported file in any text editor and you will see how it looks.

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 11:14pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/6 "2024-07-09T23:14:24Z")

</div>

![Screenshot 2024-07-09 at 4.11.55 PM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/6ca8c365b59dcb9f7520f14926b3aa6a962d0f6d.png)

But this is my exported csv file, after I clicked ‘Export’ button in my UI [http://localhost:8080/projects/4/data?tab=4](http://localhost:8080/projects/4/data?tab=4)

So it doesn’t have ‘label’ column?

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:20pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/7 "2024-07-09T23:20:40Z")

</div>

Did you export using LS UI? or using terminal

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 11:21pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/8 "2024-07-09T23:21:42Z")

</div>

LS UI, in the link: [http://localhost:8080/projects/4/data?tab=4](http://localhost:8080/projects/4/data?tab=4)

From the first screenshot I pasted initially. Please scroll up to see the UI

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:25pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/9 "2024-07-09T23:25:07Z")

</div>

your results are in `sentiment` column. When you export in CSV and when you use choices in the labeling interface, they are automatically converted to this.

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 11:29pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/10 "2024-07-09T23:29:13Z")

</div>

![Screenshot 2024-07-09 at 4.27.18 PM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/200af1e7fb79a5cc34273e2d61f9e1c1c19471d6.jpeg)

I wrapped the text display. It isn’t in the sentiment column. Sentiment is from the original data file. They are empty, and the exported file, they are still empty. But these records were already annotated, which can be seen in the Annotation Results column in the UI, but missing from the export.

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:30pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/11 "2024-07-09T23:30:07Z")

</div>

what is your labeling config?

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 11:31pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/12 "2024-07-09T23:31:12Z")

</div>

![Screenshot 2024-07-09 at 4.30.47 PM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/4526b97a690558d37dcb26b9bf3d5d4346cc9d98.png)

See here.

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:32pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/13 "2024-07-09T23:32:11Z")

</div>

Click the “Code” button and insert it as text here

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 11:33pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/14 "2024-07-09T23:33:20Z")

</div>

```auto
<View>
  <Text name="text" value="$review"/>
  <View style="box-shadow: 2px 2px 5px #999; padding: 20px; margin-top: 2em; border-radius: 5px;">
    <Header value="Choose text sentiment"/>
    <Choices name="sentiment" toName="text" choice="single" showInLine="true">
      <Choice value="Positive"/>
      <Choice value="Negative"/>
      
    </Choices>
  </View>
</View><!-- {
  "data": {"text": "This is a great 3D movie that delivers everything almost right in your face."}
} -->

```

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:34pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/15 "2024-07-09T23:34:25Z")

</div>

what is this LS version?

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 9, 2024, 11:36pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/16 "2024-07-09T23:36:10Z")

</div>

> [@MartinMin](#):
>
> The current version is below:  
> Label Studio version: 1.12.1
> 
> {  
> “release”: “1.12.1”,  
> “label-studio-os-package”: {  
> “version”: “1.12.1”,  
> “short\_version”: “1.12”,  
> “latest\_version\_from\_pypi”: “1.12.1”,  
> “latest\_version\_upload\_time”: “2024-05-21T16:23:55”,  
> “current\_version\_is\_outdated”: false  
> },  
> “label-studio-os-backend”: {  
> “message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
> “commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
> “date”: “2024/05/08 12:50:08”,  
> “branch”: “”,  
> “version”: “1.12.1+0.g779ee98.dirty”  
> },  
> “label-studio-frontend”: {  
> “message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
> “commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
> “date”: “2024-05-08T14:38:04.000Z”,  
> “branch”: “develop”  
> },  
> “dm2”: {  
> “message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
> “commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
> “date”: “2024-05-08T14:38:04.000Z”,  
> “branch”: “develop”  
> },  
> “label-studio-converter”: {  
> “version”: “0.0.58”  
> }

To re-paste here:  
The current version is below:  
Label Studio version: 1.12.1

{  
“release”: “1.12.1”,  
“label-studio-os-package”: {  
“version”: “1.12.1”,  
“short\_version”: “1.12”,  
“latest\_version\_from\_pypi”: “1.12.1”,  
“latest\_version\_upload\_time”: “2024-05-21T16:23:55”,  
“current\_version\_is\_outdated”: false  
},  
“label-studio-os-backend”: {  
“message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
“commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
“date”: “2024/05/08 12:50:08”,  
“branch”: “”,  
“version”: “1.12.1+0.g779ee98.dirty”  
},  
“label-studio-frontend”: {  
“message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
“commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
“date”: “2024-05-08T14:38:04.000Z”,  
“branch”: “develop”  
},  
“dm2”: {  
“message”: “fix: OPTIC-720: Fix e.viewsStore.forEach error (#5849)”,  
“commit”: “779ee98dd7d67c343a3a5f7f62f7f7581a17051e”,  
“date”: “2024-05-08T14:38:04.000Z”,  
“branch”: “develop”  
},  
“label-studio-converter”: {  
“version”: “0.0.58”  
}

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 9, 2024, 11:40pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/17 "2024-07-09T23:40:01Z")

</div>

Pretty weird… I can’t reproduce it on my side.  
Try exporting to JSON format and share it here.

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 10, 2024, 3:17am UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/18 "2024-07-10T03:17:11Z")

</div>

![Screenshot 2024-07-09 at 8.15.40 PM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/421fb8f4e47f1ab75ec2e14b034ffbb9527ed3ca.png)

Hi, @makseq The json looks fine. It contains the annotation result. Please confirm it’s correct format.

I am on my Mac Pro Sonoma 14.5. It seems it has an issue in exporting to csv file.

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [July 10, 2024, 11:34am UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/19 "2024-07-10T11:34:16Z")

</div>

Yes, json looks correct. Try to reproduce my steps from this video:

what will you have in csv export?

---

<div class="post-metadata">

**Author:** ![MartinMin](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/martinmin/32/92_2.png) [@MartinMin](https://community.labelstud.io/u/MartinMin)\
**Post date:** [July 11, 2024, 5:17pm UTC](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283/20 "2024-07-11T17:17:45Z")

</div>

![Screenshot 2024-07-11 at 10.16.40 AM](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/b62ae87b841b64580cf8b122c0dae38b3d6a0931.png)

I have the same setting as you, but can’t add URL this way. Is this supposed to be a URL or file path? Why is it just a dict?

[Next page](https://community.labelstud.io/t/why-doesnt-my-export-contain-annotation-results-column/283.md?page=2)
