Replies: 4 comments 2 replies
-
It doesn't seem so, at least using external functions. There are checks for empty plists/alists. Still, there's no reason one can't be empty. If you want to use internal functions, you could use make-data to create an empty What's the use case for an empty data frame? Maybe there's another way to accomplish what you want. |
Beta Was this translation helpful? Give feedback.
-
Hi thanks. I'm trying to create data-frames from json, not directly, with an intermediary code. I would be interested in being able to create an empty data-frame to be able to add columns dynamically. |
Beta Was this translation helpful? Give feedback.
-
hello. Thanks for the information. I was able to solve the problem.
This function, called
The
In short, the function walks through the hash table and its subhash tables (if any), and generates a list of data. It also generates keywords to identify the data in the list. Each time a list is found, a new keyword key is created for each item in the list using an incrementing counter. The end result is the
and make a dataframe
|
Beta Was this translation helpful? Give feedback.
-
Fantastic! As an FYI, yason can also output a/p-lists... |
Beta Was this translation helpful? Give feedback.
-
Hi, is it possible to create an empty data frame?
Beta Was this translation helpful? Give feedback.
All reactions