Skip to content

Conversation

Programmer-RD-AI
Copy link
Contributor

This pull request adds an import statement for the logging module and initializes a logger object in the spark module of FLAML. The logger is used to issue a warning message if pandas is not installed. This ensures that users are notified if they attempt to use DataFrame and Series functionalities without having pandas installed, providing them with guidance on resolving the issue.

Why are these changes needed?

This change is necessary to improve user experience by providing clear and informative warning messages when pandas is not installed. It helps users understand why certain functionalities may not work as expected and guides them on how to resolve the issue.

Related issue number

#1262

This commit adds an import statement for the logging module and initializes a logger object in the spark module of FLAML. The logger is used to issue a warning message if pandas is not installed. This ensures that users are notified if they attempt to use DataFrame and Series functionalities without having pandas installed, providing them with guidance on resolving the issue.
Copy link
Collaborator

@Borda Borda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks reasonable to me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants