data-manipulation
Here are 362 public repositories matching this topic...
to_dict() equivalent
I would like to convert a DataFrame to a JSON object the same way that Pandas does with to_dict().
toJSON() treats rows as elements in an array, and ignores the index labels. But to_dict() uses the index as keys.
Here is an example of what I have in mind:
function to_dict(df) {
const rows = df.toJSON();
const entries = df.index.map((e, i) => ({ [e]: rows[i] }));
-
Updated
Mar 19, 2022
-
Updated
Mar 14, 2022 - TypeScript
-
Updated
Jan 11, 2019 - JavaScript
-
Updated
Apr 1, 2022 - HTML
-
Updated
Apr 1, 2022 - R
-
Updated
Mar 21, 2022 - Julia
-
Updated
Apr 18, 2021 - R
-
Updated
Feb 17, 2022 - Python
-
Updated
May 9, 2021 - C++
-
Updated
Feb 27, 2022 - Jupyter Notebook
-
Updated
Oct 27, 2021 - Python
-
Updated
Mar 26, 2020 - R
-
Updated
Jun 28, 2021 - R
-
Updated
Mar 22, 2022 - Julia
-
Updated
Feb 17, 2022 - R
-
Updated
Mar 31, 2022 - TeX
-
Updated
Feb 3, 2022 - PHP
-
Updated
Jan 29, 2021 - C++
Anki shortens filenames that are too long in the latest versions, but only when a user runs Check Media. If they have already created a repo using Brain Brew then their old media will still be there. Seems to me there are a few issues here:
Warn users about long filenames
Make sure people are not caught out by this by detecting when a media filename is too long. Then users know what to do
-
Updated
Aug 6, 2020 - Jupyter Notebook
-
Updated
Mar 18, 2022 - Scala
-
Updated
Apr 24, 2018 - HTML
-
Updated
Sep 22, 2018 - Python
-
Updated
Aug 4, 2020 - JavaScript
-
Updated
Dec 2, 2021 - PHP
Improve this page
Add a description, image, and links to the data-manipulation topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the data-manipulation topic, visit your repo's landing page and select "manage topics."
Is your feature request related to a problem? Please describe.
When working with a big piece of text, I sometimes scroll down and copy some text into another tab. When switching back to the first tab, both the input and the output pane is back on top. So I don't know where I was working just now.
Describe the solution you'd like
After tab switching, scroll position should be remembere