Closed benlindsay closed 2 years ago
I support this feature @benlindsay! As I mentioned in your other issue I'm not sure when I'll be get to implementing this, but contributions are welcome!
Thanks! This is another one I wish I had time to make a PR for but don't foresee having the time for
Hey, can I have a go at implementing this?
I haven't touched this, not sure about @cosmicBboy, but it's a yes from me!
please go ahead @m-richards! if you haven't already please take a look at the contributing guide and let me know if you have any questions!
fixed by #758
I'm in the camp of wishing pandas would disallow duplicate column names. A fallback wish would be pandera disallowing duplicate column names by default. Since that would be a breaking change that I'm guessing won't fly, my fallback fallback wish is a config option to do so. My current solution is to define a
BaseSchema
that all my schemas inherit from that looks like this:I'd propose something like this as syntax to accomplish this:
Would something like this be possible?