Click here to Skip to main content
14,737,146 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
AnswerRe: Generation, what's left? Pin
Member 289602028-May-20 20:06
MemberMember 289602028-May-20 20:06 
AnswerRe: Generation, what's left? Pin
Matt McGuire1-Jun-20 8:58
professionalMatt McGuire1-Jun-20 8:58 
GeneralCode generation, what's left? Pin
honey the codewitch26-May-20 18:15
mvahoney the codewitch26-May-20 18:15 
GeneralRe: Code generation, what's left? Pin
Super Lloyd26-May-20 19:05
MemberSuper Lloyd26-May-20 19:05 
GeneralRe: Code generation, what's left? Pin
RickZeeland26-May-20 23:19
mveRickZeeland26-May-20 23:19 
GeneralRe: Code generation, what's left? Pin
BillWoodruff27-May-20 0:06
mveBillWoodruff27-May-20 0:06 
GeneralRe: Code generation, what's left? Pin
honey the codewitch27-May-20 2:20
mvahoney the codewitch27-May-20 2:20 
GeneralRe: Code generation, what's left? Pin
NeverJustHere27-May-20 0:46
MemberNeverJustHere27-May-20 0:46 
If you wanted to step into Python, I think there is a need for an extension similar to LINQ. I'd call it PINQ. (Python or Pandas language integrated query)

Python and its Pandas library is used heaps for data manipulation, but some of its syntax is very inelegant and cumbersome.

Most stuff is implemented as functions on pandas data frames, and joining two of them together is done as a function call.
pd.merge(left=first, right=second, how='left', left_on='first_field', right_on='second_field').drop('second_field', axis=1)

It's just really painful. It ought to be possible to define a cleansyntax that was far more expressive of common data manipulation on dataframes and translate into a series of pandas calls. It could be done as a pre-processor step prior to trying to merge into baseline Python.

It would be interesting to try to define this as an abstract and be able to translate into python/pandas code, LINQ, R, SQL, etc
GeneralRe: Code generation, what's left? Pin
honey the codewitch27-May-20 2:16
mvahoney the codewitch27-May-20 2:16 
GeneralRe: Code generation, what's left? Pin
CPallini27-May-20 1:28
mveCPallini27-May-20 1:28 
GeneralRe: Code generation, what's left? Pin
Marc Clifton27-May-20 3:13
mvaMarc Clifton27-May-20 3:13 
GeneralRe: Code generation, what's left? Pin
honey the codewitch27-May-20 3:20
mvahoney the codewitch27-May-20 3:20 
GeneralThanks God... Pin
Super Lloyd26-May-20 18:07
MemberSuper Lloyd26-May-20 18:07 
GeneralRe: Thanks God... Pin
honey the codewitch26-May-20 18:16
mvahoney the codewitch26-May-20 18:16 
GeneralRe: Thanks God... Pin
Super Lloyd26-May-20 19:01
MemberSuper Lloyd26-May-20 19:01 
GeneralRe: Thanks God... Pin
the goat in your machine26-May-20 20:24
Memberthe goat in your machine26-May-20 20:24 
PraiseRe: Thanks God... Pin
RickZeeland26-May-20 23:35
mveRickZeeland26-May-20 23:35 
GeneralRe: Thanks God... Pin
obermd27-May-20 4:53
Memberobermd27-May-20 4:53 
Generalsome factoids are too wondrous not to share ! Pin
BillWoodruff26-May-20 17:57
mveBillWoodruff26-May-20 17:57 
GeneralRe: some factoids are too wondrous not to share ! Pin
Super Lloyd26-May-20 19:00
MemberSuper Lloyd26-May-20 19:00 
GeneralRe: some factoids are too wondrous not to share ! Pin
W Balboos, GHB27-May-20 6:28
mveW Balboos, GHB27-May-20 6:28 
GeneralRe: some factoids are too wondrous not to share ! Pin
dandy7227-May-20 7:46
Memberdandy7227-May-20 7:46 
JokeGreat Scott, I've Found It! Pin
raddevus26-May-20 12:27
mvaraddevus26-May-20 12:27 
GeneralRe: Great Scott, I've Found It! Pin
CodeWraith26-May-20 14:19
MemberCodeWraith26-May-20 14:19 
GeneralRe: Great Scott, I've Found It! Pin
steveb26-May-20 14:21
Membersteveb26-May-20 14:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.