Skip to content

Commit

Permalink
Merge branch 'update-readme-redux' of github.com:shwina/cudf into upd…
Browse files Browse the repository at this point in the history
…ate-readme-redux
  • Loading branch information
shwina committed Nov 8, 2023
2 parents 7431d29 + 3f7868e commit ad8c152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import requests
from io import StringIO

url = "https://github.com/plotly/datasets/raw/master/tips.csv"
content = requests.get(url).content.decode('utf-8')
content = requests.get(url).content.decode("utf-8")

tips_df = cudf.read_csv(StringIO(content))
tips_df["tip_percentage"] = tips_df["tip"] / tips_df["total_bill"] * 100
Expand All @@ -39,7 +39,7 @@ import requests
from io import StringIO

url = "https://github.com/plotly/datasets/raw/master/tips.csv"
content = requests.get(url).content.decode('utf-8')
content = requests.get(url).content.decode("utf-8")

tips_df = pd.read_csv(StringIO(content))
tips_df["tip_percentage"] = tips_df["tip"] / tips_df["total_bill"] * 100
Expand Down

0 comments on commit ad8c152

Please sign in to comment.