davidmezzetti's picture
Update README
90233fe
---
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")
```