---
title: "Samuel Oranyeli (@Samukweku) | Hashnode"
description: "Data wrangler. Read the latest articles by Samuel Oranyeli on Hashnode."
url: "https://hashnode.com/@Samukweku"
---

@Samukweku

# Samuel Oranyeli

@Samukweku · Australia · Joined October 2020

Data wrangler

### [Data Wrangling with Python Datatable - Conditional Statements](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-conditional-statements?utm_source=hashnode&utm_medium=feed)

Transformation based on a Single Condition Source data Task: if c is positive, then value should be a - b, else b - a. from datatable import dt, f, update, ifelse df = dt.Frame({"a": \[1, 1, 2, 4\], "b": \[2, 2, 3, 2\], "...

4 min read · [datawrangler.hashnode.dev](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-conditional-statements?utm_source=hashnode&utm_medium=feed)

[Jan 18, 2021](https://hashnode.com/posts/data-wrangling-with-python-datatable-conditional-statements/60055fec7b30c23b714aaea0)

### [Data Wrangling with Python Datatable - Row-wise Transformations](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-row-wise-transformations?utm_source=hashnode&utm_medium=feed)

Link to Source data datatable docs Task: Get the difference between the maximum and minimum values per row for Value columns. from datatable import dt, f, update df = dt.Frame({'Ind': \[1, 2, 3\], 'Department': \['Electronics', 'Clothing...

3 min read · [datawrangler.hashnode.dev](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-row-wise-transformations?utm_source=hashnode&utm_medium=feed)

[Jan 8, 2021](https://hashnode.com/posts/data-wrangling-with-python-datatable-row-wise-transformations/5ff82d0faa5c467fe15573ba)

### [Data Wrangling with Python Datatable - Transformations Within a GroupBy](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-transformations-within-a-groupby?utm_source=hashnode&utm_medium=feed)

Link to Source data Task: Group data by Date and Zip and get the ratio of Price to maximum Price per group. from datatable import dt, f, update, by df = dt.Frame( { "Date": \["2019-01-01", "2019-01-01", "2019-01-01", "20...

2 min read · [datawrangler.hashnode.dev](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-transformations-within-a-groupby?utm_source=hashnode&utm_medium=feed)

[Jan 7, 2021](https://hashnode.com/posts/data-wrangling-with-python-datatable-transformations-within-a-groupby/5ff6dfb8a538d00135152098)

### [Data Wrangling with Python Datatable - Select Columns by Data Type](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-select-columns-by-data-type?utm_source=hashnode&utm_medium=feed)

Link to Source data Datatable docs ltype stypes from datatable import dt, f df = dt.Frame({'a': \[1, 2, 1, 2, 1, 2\], 'b': \[True, False, True, False, True, False\], 'c': \[1.0, 2.0, 1.0, 2.0, 1.0, 2.0\]}) df | a ...

2 min read · [datawrangler.hashnode.dev](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-select-columns-by-data-type?utm_source=hashnode&utm_medium=feed)

[Jan 6, 2021](https://hashnode.com/posts/data-wrangling-with-python-datatable-select-columns-by-data-type/5ff57344fc8177134fbb63de)

### [Data Wrangling with Python Datatable - Replicate Pandas' Map Function](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-replicate-pandas-map-function?utm_source=hashnode&utm_medium=feed)

Link to Source data Task: Create a new column by mapping the values in the city column to the city\_state dictionary from datatable import dt, f raw\_data = {"first\_name": \["Jason", "Molly", "Tina", "Jake", "Amy"\], ...

3 min read · [datawrangler.hashnode.dev](https://datawrangler.hashnode.dev/data-wrangling-with-python-datatable-replicate-pandas-map-function?utm_source=hashnode&utm_medium=feed)

[Jan 4, 2021](https://hashnode.com/posts/data-wrangling-with-python-datatable-replicate-pandas-map-function/5ff2eff372eafd0f1c8c5f26)
