-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clean_names does not produce the expected names for some columns #25
Comments
Thanks for catching this. We are wrapping the We can certainly try to re-implement this from scratch or modifying that code but would check and see if they are interested to fix. Thanks. |
Thank you. |
I asked on the Cleaner.jl repository. We may even be able to help fix this but want to make sure the fix lives in Cleaner.jl if possible. |
Per the author, the Cleaner.jl issue is fixed! There's a patch released on the registry. I just need to update the dependency version for Cleaner within TidierData for this to work. Will get that done shortly. I'll leave this issue open until that's done on our end. |
I realized there is a dependency mismatch between DataFrames.jl v1.5+ (which TidierData.jl depends on) and the latest version of Cleaner.jl. I need to wait for this issue to be resolved (TheRoniOne/Cleaner.jl#6) before I can update TidierData.jl to take advantage of this. |
This is now fixed in Cleaner.jl v1.0.3, which is now on the registry. Closing the issue. If you want to see it take effect, feel free to update the Cleaner package (and make sure TidierData is also up-to-date). I'm going to leave TidierData as compatible with older versions of Cleaner just to allow users flexibility. |
Three column names in my dataframe are
Vehicle_ID
,Frame_ID
, andLane_ID
. When I use@clean_names
, other columns are formatted just like R'sjanitor::clean_names()
, but the aforementioned columns are formatted asvehicle_i_d
,frame_i_d
, andlane_i_d
. The data I read is in a parquet file. I used the following code:The text was updated successfully, but these errors were encountered: