Ankit Garg
@AnkitGargMDPhD
Followers
19
Following
9
Media
1
Statuses
13
Budding physician-scientist and cardiology fellow at Washington University in St Louis
Joined November 2020
Then ChatGPT backtracked and said "I apologize for any confusion caused by my previous response. I misspoke regarding the time complexity of boolean indexing in Pandas." It even updated its original response to correct itself! Really cool stuff.
0
0
0
I wanted to know the magic behind this "boolean indexing" method that avoids linear time complexity cost, so I asked: "How does filtering with boolean indexing avoid linear time complexity?"
1
0
0
It initially replied this: "No, the line row_index = df.loc[df[column_name] == search_value].index[0] does not iterate through every row of the DataFrame. Instead, it uses boolean indexing to filter the DataFrame based on the condition df[column_name] == search_value."
1
0
0
"With regards to the previous code you wrote, for the line "row_index = df.loc[df[column_name] == search_value].index[0]", is this iterating through every row and incurring a linear time complexity cost?"
1
0
0
However, it still makes mistakes. For example, I asked ChatGPT a question about a piece of code it wrote for me:
1
0
0
Although it's already well established, I wanted to reitareate ChatGPT is really great for learning programming.
1
0
2
The novel myosin ATPase inhibitor, Mavacamten, shows promising results in treating HOCM with noticeable symptomatic improvement! Fantastic study by Dr. Spertus, et. al.: https://t.co/HCOfQOI7KS Original paper in Science for the discovery of Mavacamten:
pubmed.ncbi.nlm.nih.gov
Hypertrophic cardiomyopathy (HCM) is an inherited disease of heart muscle that can be caused by mutations in sarcomere proteins. Clinical diagnosis depends on an abnormal thickening of the heart, but...
0
0
0
A neat method: SarcTrack. Use fluorescently labeled cardiac sarcomere to measure contraction. Original paper using genomically tagged fluorescent protein: https://t.co/hG7ridhIMe More recent paper using virally transduced fluorescent protein:
pubmed.ncbi.nlm.nih.gov
[Figure: see text].
0
0
0
Wonderful study with permanent genome editing in a liver-enriched fashion using lipid nanoparticles containing CRISPR base editors: https://t.co/DpQG0q9GCt. Really glad to see a lack of germline modification. As a #physicianscientist, this is very inspiring translational work!
nature.com
Nature - In a cynomolgus macaque model, CRISPR base editors delivered in lipid nanoparticles are shown to efficiently and stably knock down PCSK9 in the liver to reduce levels of PCSK9 and...
0
0
1
Next step: program Arduino to transmit data over serial for Micro-manager to read and input into metadata.
0
0
0
Relevant equipment: Arduino MKR 1010 with IoT carrier and Bioptechs objective heater.
1
0
0
My first Arduino project made to help me in lab! I was concerned about temperature fluctuations affecting my biochemical experiments. So I wired and programmed an Arduino to measure ambient and microscope objective temperature (+more!) that uploads data to a Google sheet.
1
0
4