eland
eland copied to clipboard
Adding new column to an Eland dataframe
This feature would add a new column to the Eland dataframe, just like Pandas item assignment. E.g. df_ed["New Column"] = np.nan
Thanks.
What is your use case for adding a constant column to an Eland dataframe?
Does pulling your data locally and doing this operation in Pandas fit your use case?
Thanks for your prompt response, @sethmlarson . The constant was just an example. It could be any operation, value assignment, etc. Earlier, I was pulling the data locally and doing it in pandas. However, it is too slow. The computations will speed up significantly if I do it in Elasticsearch itself, with Eland.