# Creating custom DataFrame types

**URL:** <https://discourse.julialang.org/t/creating-custom-dataframe-types/4992>\
**Category:** Data\
**Tags:** question, data\
**Created:** [July 21, 2017, 12:26am UTC](https://discourse.julialang.org/t/creating-custom-dataframe-types/4992 "2017-07-21T00:26:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Post date:** [July 21, 2017, 4:30am UTC](https://discourse.julialang.org/t/creating-custom-dataframe-types/4992/4 "2017-07-21T04:30:16Z")

</div>

A similar topic was discussed here

> [@Wrap and inherit Number](https://discourse.julialang.org/t/wrap-and-inherit-number/4799):
>
> I’ve seen topics touching this in different constellations, but: How do people create a new type that would magically behave just like any subtype of (say) Number? So for example, if: struct A{T \<: Number} x::T end then I’d just be able to \*, +, sin, exp, or sqrt instances of A and on top of that I’d still be able to (re)define additional specialized methods like say sqrt(a::A) = (a.x)^(1/3)? Thanks and sorry for the overlap/repeat.

---

_[View the full topic](https://discourse.julialang.org/t/creating-custom-dataframe-types/4992)._
