From 7387bc9e16ec9bb5348c0b42e5ef7e2b646dff19 Mon Sep 17 00:00:00 2001
From: Felix <felixwelter@gmail.com>
Date: Fri, 24 Apr 2020 09:00:24 +0200
Subject: [PATCH] Add example to readme

---
 README.md | 7 +++++++
 setup.py  | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 54235fd..9b7115f 100644
--- a/README.md
+++ b/README.md
@@ -25,3 +25,10 @@ If your lexicon is a python dictionary mapping words to values, convert it to a
 import pandas as pd
 df_lex = pd.DataFrame().from_dict(dict_lex, orient="index").reset_index().rename(columns={"index": "word", 0: "so"})
 ```
+
+# Example
+```
+df1 = pd.DataFrame([("test",   1), ("free",    1), ("other", 1), ("check", 0.5)], columns=["word", "so"])
+df2 = pd.DataFrame([("test", 0.5), ("free",    1)],                               columns=["word", "so"])
+simple(df1, df2), binary(df1, df2), score(df1, df2)
+```
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 427ea0f..14abe67 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
 
 setuptools.setup(
     name="lexicon_overlap_score", # Replace with your own username
-    version="0.0.3",
+    version="0.0.4",
     author="Felix Welter",
     author_email="felixwelter@gmail.com",
     description="Functions for calculation of the lexicon overlap score",
-- 
GitLab