Git Product home page Git Product logo

Comments (4)

fabclmnt avatar fabclmnt commented on May 27, 2024

HI @Crispinli ,

More detail is required as this seems to be related with the data that you are currently. Can you please provide the code that you are using as well as some information regarding the dataset?

from ydata-profiling.

stnvapm avatar stnvapm commented on May 27, 2024

I have the same issue
ydata_profiling in /usr/local/lib/python3.10/dist-packages (4.6.5)

import pandas as pd
from ydata_profiling import ProfileReport

df = pd.read_csv("/content/drive/MyDrive/linkdin_Job_data.csv")

report = ProfileReport(df, title='My Data')
report.to_file("my_report.html")
Summarize dataset: 100%
 27/27 [00:09<00:00,  1.72it/s, Completed]
Generate report structure:   0%
 0/1 [00:17<?, ?it/s]
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-13-4430cb1792cb>](https://localhost:8080/#) in <cell line: 9>()
      7 # Generate the data profiling report
      8 report = ProfileReport(df, title='My Data')
----> 9 report.to_file("my_report.html")

8 frames
[/usr/local/lib/python3.10/dist-packages/ydata_profiling/report/structure/variables/render_categorical.py](https://localhost:8080/#) in render_categorical_unicode(config, summary, varid)
    137         summary["category_alias_char_counts"].items(), key=lambda x: -len(x[1])
    138     ):
--> 139         category_alias_name = category_alias_name.replace("_", " ")
    140         cats.append(
    141             FrequencyTable(

AttributeError: 'NoneType' object has no attribute 'replace'

from ydata-profiling.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.