Package: xplore
xplorexplore is a python package built with Pandas for data scientist or analysts, AI/ML engineers or researchers for exploring features of a dataset in one line of code for quick analysis before data wrangling and feature extraction. You can also choose to generate a more detailed report on the exploration of your dataset upon request.Getting startedInstall the packagepipinstallxploreImport the package into your codefromxplore.dataimportxploreAssign the read/open command to the file path or URL of your structured dataset to a variable namedata=<Readinyourdatasetfilehere>Explore your dataset using the xplore() methodxplore(data)Testing xploreNavigate to the test.py file after installing the package and run the code in that file to see and understand how xplore works.Sample Output------------------------------------Thefist5entriesofyourdatasetare:rankcountry_fullcountry_abrvtotal_points...three_year_ago_avgthree_year_ago_weightedconfederationrank_date01GermanyGER0.0...0.00.0UEFA1993-08-0812ItalyITA0.0...0.00.0UEFA1993-08-0823SwitzerlandSUI0.0...0.00.0UEFA1993-08-0834SwedenSWE0.0...0.00.0UEFA1993-08-0845ArgentinaARG0.0...0.00.0CONMEBOL1993-08-08[5rowsx16columns]------------------------------------Thelast5entriesofyourdatasetare:rankcountry_fullcountry_abrvtotal_points...three_year_ago_avgthree_year_ago_weightedconfederationrank_date57788206AnguillaAIA0.0...0.00.0CONCACAF2018-06-0757789206BahamasBAH0.0...0.00.0CONCACAF2018-06-0757790206EritreaERI0.0...0.00.0CAF2018-06-0757791206SomaliaSOM0.0...0.00.0CAF2018-06-0757792206TongaTGA0.0...0.00.0OFC2018-06-07[5rowsx16columns]------------------------------------Statsonyourdataset:<boundmethodNDFrame.describeofrankcountry_fullcountry_abrvtotal_points...three_year_ago_avgthree_year_ago_weightedconfederationrank_date01GermanyGER0.0...0.00.0UEFA1993-08-0812ItalyITA0.0...0.00.0UEFA1993-08-0823SwitzerlandSUI0.0...0.00.0UEFA1993-08-0834SwedenSWE0.0...0.00.0UEFA1993-08-0845ArgentinaARG0.0...0.00.0CONMEBOL1993-08-08..............................57788206AnguillaAIA0.0...0.00.0CONCACAF2018-06-0757789206BahamasBAH0.0...0.00.0CONCACAF2018-06-0757790206EritreaERI0.0...0.00.0CAF2018-06-0757791206SomaliaSOM0.0...0.00.0CAF2018-06-0757792206TongaTGA0.0...0.00.0OFC2018-06-07[57793rowsx16columns]>------------------------------------TheValuetypesofeachcolumnare:rankint64country_fullobjectcountry_abrvobjecttotal_pointsfloat64previous_pointsint64rank_changeint64cur_year_avgfloat64cur_year_avg_weightedfloat64last_year_avgfloat64last_year_avg_weightedfloat64two_year_ago_avgfloat64two_year_ago_weightedfloat64three_year_ago_avgfloat64three_year_ago_weightedfloat64confederationobjectrank_dateobjectdtype:object------------------------------------InfoonyourDataset:<boundmethodDataFrame.infoofrankcountry_fullcountry_abrvtotal_points...three_year_ago_avgthree_year_ago_weightedconfederationrank_date01GermanyGER0.0...0.00.0UEFA1993-08-0812ItalyITA0.0...0.00.0UEFA1993-08-0823SwitzerlandSUI0.0...0.00.0UEFA1993-08-0834SwedenSWE0.0...0.00.0UEFA1993-08-0845ArgentinaARG0.0...0.00.0CONMEBOL1993-08-08..............................57788206AnguillaAIA0.0...0.00.0CONCACAF2018-06-0757789206BahamasBAH0.0...0.00.0CONCACAF2018-06-0757790206EritreaERI0.0...0.00.0CAF2018-06-0757791206SomaliaSOM0.0...0.00.0CAF2018-06-0757792206TongaTGA0.0...0.00.0OFC2018-06-07[57793rowsx16columns]>------------------------------------Theshapeofyourdatasetintheorderofrowsandcolumnsis:(57793,16)------------------------------------Thefeaturesofyourdatasetare:Index(['rank','country_full','country_abrv','total_points','previous_points','rank_change','cur_year_avg','cur_year_avg_weighted','last_year_avg','last_year_avg_weighted','two_year_ago_avg','two_year_ago_weighted','three_year_ago_avg','three_year_ago_weighted','confederation','rank_date'],dtype='object')------------------------------------Thetotalnumberofnullvaluesfromindividualcolumnsofyourdatasetare:rank0country_full0country_abrv0total_points0previous_points0rank_change0cur_year_avg0cur_year_avg_weighted0last_year_avg0last_year_avg_weighted0two_year_ago_avg0two_year_ago_weighted0three_year_ago_avg0three_year_ago_weighted0confederation0rank_date0dtype:int64------------------------------------Thenumberofrowsinyourdatasetare:57793------------------------------------Thevaluesinyourdatasetare:[[1'Germany''GER'...0.0'UEFA''1993-08-08'][2'Italy''ITA'...0.0'UEFA''1993-08-08'][3'Switzerland''SUI'...0.0'UEFA''1993-08-08']...[206'Eritrea''ERI'...0.0'CAF''2018-06-07'][206'Somalia''SOM'...0.0'CAF''2018-06-07'][206'Tonga''TGA'...0.0'OFC''2018-06-07']]------------------------------------Doyouwanttogenerateadetailedreportontheexplorationofyourdataset?[y/n]:Contributing to xploreFork and clone this repo if you have any contributions you want to make.
Push your commits to a new branch and send a PR when done.
I'll review your code and merge your PR as soon as possible.Maintainers:Jerry Buaba|Labaran Mohammed|Benjamin Acquaah