sivaprakasaman / garmin_wrapped

A collection of parsing and visualization scripts for analyzing running .fit and .txt files from Garmin for larger scale and more fine-grained data analysis.
GNU General Public License v3.0
18 stars 0 forks source link

Your python analysis code is getting an error #1

Open bouton opened 1 week ago

bouton commented 1 week ago

I was looking at your code to try to get a handle on python parsing of Garmin fit files and got to the analysis files you have and get this error

/home/sivaprakasaman/Documents/Code/running_analytics/Analysis/fit_helpers.py:62: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  df_out.drop(columns=["Field"], inplace=True);

I am not a proper coder so am struggling a bit to get the plots workng - thanks

sivaprakasaman commented 5 days ago

Thanks! I recommend using the R scripts at the moment and avoiding the Python scripts (those are still largely in development). I'm thinking about updating the Python scripts later this year-- I initially ran into a couple of roadblocks I was able to get around when I used R.

bouton commented 5 days ago

Thanks. Learning R is not on the list at the moment but I sure will use what you have as a pointer. Has really helped!

On Wed, Oct 30, 2024, 1:37 PM Andrew Sivaprakasam @.***> wrote:

Thanks! I recommend using the R scripts at the moment and avoiding the Python scripts (those are still largely in development). I'm thinking about updating the Python scripts later this year-- I initially ran into a couple of roadblocks I was able to get around when I used R.

— Reply to this email directly, view it on GitHub https://github.com/sivaprakasaman/garmin_wrapped/issues/1#issuecomment-2447191826, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUYZOI7AB4MYLZHFTJTULLZ6DOKJAVCNFSM6AAAAABQXNGD5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBXGE4TCOBSGY . You are receiving this because you authored the thread.Message ID: @.***>