File size: 813 Bytes
914c98c 90233fe 914c98c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ---
language:
- en
license: apache-2.0
---
# NeuML LinkedIn Company Posts
This dataset is 12 months of [NeuML's LinkedIn Company Posts](https://www.linkedin.com/company/neuml) as of January 2025. It contains the post text along with engagement metrics.
It was created as follows:
1. Export the company posts from the analytics page, [see this link for instructions](https://www.linkedin.com/help/linkedin/answer/a551206).
2. Run the following code to create a dataset
```python
import pandas as pd
from datasets import load_dataset
df = pd.read_excel("export_data.xls", sheet_name=1, header=1)
df = df.dropna(axis="columns")
df.to_csv("data/posts.csv", index=False)
```
This same process can be run to create your own dataset. It can be loaded locally as follows.
```python
ds = load_dataset("data")
```
|